From 38c9d1d6b822180c2498728405b134366eaf12f6 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 1 Oct 2024 15:36:11 -0400 Subject: [PATCH] deprecated version of `actions/upload-artifact: v2` --- .github/workflows/main.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 72d102b9..3a727a26 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ env: AWS_RELEASE_ACCESS_KEY_ID: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} AWS_RELEASE_SECRET_ACCESS_KEY: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} RELEASE_BUCKET: "slobs-cdn.streamlabs.com/obsplugin/intermediary_packages/" - + jobs: win64: name: 'Windows 64-bit' @@ -29,22 +29,22 @@ jobs: uses: jwlawson/actions-setup-cmake@v1.14 with: cmake-version: '3.28.x' - + - name: Checkout repository - uses: actions/checkout@v2 - + uses: actions/checkout@v3 + - name: Run build script run: powershell -File ./ci/pipeline.ps1 "${{ github.workspace }}" "${{ github.sha }}" - + - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v2 with: aws-access-key-id: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} aws-secret-access-key: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} aws-region: us-west-2 - + - name: Upload Zip - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: slplugin-archive path: ${{ github.workspace }}/slplugin-${{ env.SL_OBS_VERSION }}-${{ github.sha }}.7z @@ -55,7 +55,7 @@ jobs: environment: Release needs: [win64] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Download Archive uses: actions/download-artifact@v3 @@ -69,7 +69,7 @@ jobs: run: powershell -File ./ci/sign.ps1 "${{ github.workspace }}" "${{ github.sha }}" - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v1 + uses: aws-actions/configure-aws-credentials@v2 with: aws-access-key-id: ${{secrets.AWS_RELEASE_ACCESS_KEY_ID}} aws-secret-access-key: ${{secrets.AWS_RELEASE_SECRET_ACCESS_KEY}} @@ -77,6 +77,6 @@ jobs: - name: Upload zip to AWS Intermediary run: aws s3 cp slplugin-${{env.SL_OBS_VERSION}}-${{ github.sha }}-signed.zip s3://${{env.RELEASE_BUCKET}} --acl public-read - + - name: Upload installer to AWS Intermediary run: aws s3 cp slplugin-${{env.SL_OBS_VERSION}}-${{ github.sha }}-signed.exe s3://${{env.RELEASE_BUCKET}} --acl public-read