From cde5fa3ef81decd186db0cd5eff37192fc644a92 Mon Sep 17 00:00:00 2001 From: abejgonzalez Date: Tue, 6 Dec 2022 11:01:30 -0800 Subject: [PATCH] Fix deprecations --- .github/actions/change-workflow-instance-states/action.yml | 2 +- .github/actions/job-start/action.yml | 2 +- .github/actions/repo-setup-aws/action.yml | 2 +- .github/workflows/firesim-run-tests.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/change-workflow-instance-states/action.yml b/.github/actions/change-workflow-instance-states/action.yml index 906fdf4c..cdf17158 100644 --- a/.github/actions/change-workflow-instance-states/action.yml +++ b/.github/actions/change-workflow-instance-states/action.yml @@ -15,7 +15,7 @@ inputs: runs: using: "composite" steps: - - uses: aws-actions/configure-aws-credentials@v1 + - uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ env.AWS-ACCESS-KEY-ID }} aws-secret-access-key: ${{ env.AWS-SECRET-ACCESS-KEY }} diff --git a/.github/actions/job-start/action.yml b/.github/actions/job-start/action.yml index b894f11f..2ebfc3cb 100644 --- a/.github/actions/job-start/action.yml +++ b/.github/actions/job-start/action.yml @@ -20,5 +20,5 @@ runs: restore-keys: ${{ github.run_id }}-${{ github.job }} - name: Set run_result to default or use cached value id: run_result - run: echo "::set-output name=run_result::$(cat run_result 2>/dev/null || echo 'default')" + run: echo "run_result=$(cat run_result 2>/dev/null || echo 'default')" >> $GITHUB_OUTPUT shell: bash diff --git a/.github/actions/repo-setup-aws/action.yml b/.github/actions/repo-setup-aws/action.yml index d818d234..c9733956 100644 --- a/.github/actions/repo-setup-aws/action.yml +++ b/.github/actions/repo-setup-aws/action.yml @@ -4,7 +4,7 @@ description: "Runs all baseline setup to interact with a AWS-hosted manager inst runs: using: "composite" steps: - - uses: aws-actions/configure-aws-credentials@v1 + - uses: aws-actions/configure-aws-credentials@v1-node16 with: aws-access-key-id: ${{ env.AWS-ACCESS-KEY-ID }} aws-secret-access-key: ${{ env.AWS-SECRET-ACCESS-KEY }} diff --git a/.github/workflows/firesim-run-tests.yml b/.github/workflows/firesim-run-tests.yml index 629e2718..665c747d 100644 --- a/.github/workflows/firesim-run-tests.yml +++ b/.github/workflows/firesim-run-tests.yml @@ -35,7 +35,7 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Cancel previous workflow runs - uses: styfle/cancel-workflow-action@0.9.1 + uses: styfle/cancel-workflow-action@0.11.0 with: access_token: ${{ github.token }}