diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 5643202..1d70047 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -27,7 +27,10 @@ jobs: run: | jobs=$(gh api repos/${{ github.repository }}/actions/runs/${{ github.run_id}}/attempts/${{ github.run_attempt }}/jobs) job_id=$(echo $jobs | jq -r '.jobs[] | select(.runner_name=="${{ runner.name }}") | .id') - echo "job_id=$job_id" >> $GITHUB_OUTPUT + echo "GITHUB_JOB_ID=$job_id" >> $GITHUB_ENV + + - name: Test GITHUB_JOB_ID + run: echo $GITHUB_JOB_ID - name: Install SSH key uses: shimataro/ssh-key-action@v2