From 869db5c7dd87769604290eb800a9613add06d5cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 21:00:43 +0000 Subject: [PATCH 1/4] Bump actions/download-artifact from 1 to 4.1.7 in /.github/workflows Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 1 to 4.1.7. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v1...v4.1.7) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- .github/workflows/09-artifacts-workflow.yml | 4 ++-- .github/workflows/16-conditional.yml | 6 +++--- .github/workflows/25-artifacts-between-workflows-2.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/09-artifacts-workflow.yml b/.github/workflows/09-artifacts-workflow.yml index 31550de931..d0c5f7ee97 100644 --- a/.github/workflows/09-artifacts-workflow.yml +++ b/.github/workflows/09-artifacts-workflow.yml @@ -26,7 +26,7 @@ jobs: runs-on: windows-latest steps: - name: Download math result for job 1 - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4.1.7 with: name: homework - shell: bash @@ -45,7 +45,7 @@ jobs: runs-on: macOS-latest steps: - name: Download math result for job 2 - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v4.1.7 with: name: homework - name: Print the final result diff --git a/.github/workflows/16-conditional.yml b/.github/workflows/16-conditional.yml index 00c1b214c0..ce805c9104 100644 --- a/.github/workflows/16-conditional.yml +++ b/.github/workflows/16-conditional.yml @@ -84,17 +84,17 @@ jobs: if: always() steps: - name: Download artifact pass_status_job1 - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4.1.7 with: name: pass_status_job1 - name: Download artifact pass_status_job2 - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4.1.7 with: name: pass_status_job2 - name: Download artifact pass_status_job3 - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4.1.7 with: name: pass_status_job3 diff --git a/.github/workflows/25-artifacts-between-workflows-2.yml b/.github/workflows/25-artifacts-between-workflows-2.yml index c99d8615c9..49b18a02da 100644 --- a/.github/workflows/25-artifacts-between-workflows-2.yml +++ b/.github/workflows/25-artifacts-between-workflows-2.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download workflow artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v4.1.7 with: github-token: ${{ secrets.ACCESS_TOKEN }} name: pr_num From 1db89b14acabce6995e7509c87449ebddbc657a8 Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Wed, 4 Sep 2024 08:17:09 -0300 Subject: [PATCH 2/4] Update 09-artifacts-workflow.yml --- .github/workflows/09-artifacts-workflow.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/09-artifacts-workflow.yml b/.github/workflows/09-artifacts-workflow.yml index d0c5f7ee97..4d099e2958 100644 --- a/.github/workflows/09-artifacts-workflow.yml +++ b/.github/workflows/09-artifacts-workflow.yml @@ -15,7 +15,7 @@ jobs: run: | expr 3 + 7 > math-homework.txt - name: Upload math result for job 1 - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4.4.0 with: name: homework path: math-homework.txt @@ -26,7 +26,7 @@ jobs: runs-on: windows-latest steps: - name: Download math result for job 1 - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4.1.8 with: name: homework - shell: bash @@ -34,7 +34,7 @@ jobs: value=`cat math-homework.txt` expr $value \* 9 > math-homework.txt - name: Upload math result for job 2 - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4.4.0 with: name: homework path: math-homework.txt @@ -45,7 +45,7 @@ jobs: runs-on: macOS-latest steps: - name: Download math result for job 2 - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4.1.8 with: name: homework - name: Print the final result From 9dc5f27a5ea440e92acfd627232bbdc8763c7908 Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Wed, 4 Sep 2024 08:19:31 -0300 Subject: [PATCH 3/4] Update 16-conditional.yml --- .github/workflows/16-conditional.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/16-conditional.yml b/.github/workflows/16-conditional.yml index ce805c9104..89e02018ae 100644 --- a/.github/workflows/16-conditional.yml +++ b/.github/workflows/16-conditional.yml @@ -27,7 +27,7 @@ jobs: - name: Upload file status_job1.txt as an artifact if: always() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4.4.0 with: name: pass_status_job1 path: status_job1.txt @@ -56,7 +56,7 @@ jobs: echo ${{ job.status }} > status_job2.txt - name: Upload file status_job2.txt as an artifact if: always() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4.4.0 with: name: pass_status_job2 path: status_job2.txt @@ -73,7 +73,7 @@ jobs: echo ${{ job.status }} > status_job3.txt - name: Upload file status_job3.txt as an artifact if: always() - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4.4.0 with: name: pass_status_job3 path: status_job3.txt @@ -84,17 +84,17 @@ jobs: if: always() steps: - name: Download artifact pass_status_job1 - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4.1.8 with: name: pass_status_job1 - name: Download artifact pass_status_job2 - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4.1.8 with: name: pass_status_job2 - name: Download artifact pass_status_job3 - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4.1.8 with: name: pass_status_job3 @@ -121,7 +121,7 @@ jobs: env: MY_KEY: ${{ secrets.AWS_ACCESS_KEY_ID }} if: "${{ env.MY_KEY != '' }}" - run: echo "::set-output name=defined::true" + run: echo "defined=true" >> $GITHUB_OUTPUT job5: runs-on: ubuntu-latest @@ -141,7 +141,7 @@ jobs: runs-on: ubuntu-latest steps: - id: step1 - run: echo "::set-output name=test::hello" + run: echo "test=hello" >> $GITHUB_OUTPUT - name: step 2 if: contains(steps.step1.outputs.test, 'hello') run: echo 'is executed' From 778f9f8e486f72ce94c1c51c6bd8e97a9cbfbfd8 Mon Sep 17 00:00:00 2001 From: Guillaume Falourd Date: Wed, 4 Sep 2024 08:19:49 -0300 Subject: [PATCH 4/4] Update 25-artifacts-between-workflows-2.yml --- .github/workflows/25-artifacts-between-workflows-2.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/25-artifacts-between-workflows-2.yml b/.github/workflows/25-artifacts-between-workflows-2.yml index 49b18a02da..3c50a937e6 100644 --- a/.github/workflows/25-artifacts-between-workflows-2.yml +++ b/.github/workflows/25-artifacts-between-workflows-2.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download workflow artifact - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4.1.8 with: github-token: ${{ secrets.ACCESS_TOKEN }} name: pr_num @@ -24,4 +24,4 @@ jobs: with: path: ./pr_num/pr_num.txt - - run: echo Original PR number is ${{ steps.pr_num_reader.outputs.content }} \ No newline at end of file + - run: echo Original PR number is ${{ steps.pr_num_reader.outputs.content }}