From 21b4eaae7aa4657ffc0bd3eb564a17304c67c01f Mon Sep 17 00:00:00 2001 From: Adrien Carpentier Date: Thu, 16 May 2024 10:53:34 +0900 Subject: [PATCH] test --- .github/workflows/staging.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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