From 0a71b95e9dacadcdfeb43d4489042a1217a23f5c Mon Sep 17 00:00:00 2001 From: Ivan Matkov Date: Tue, 17 Sep 2024 15:31:03 +0200 Subject: [PATCH] Update actions/upload-artifact to v3 --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 817d07e..90ede37 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -36,7 +36,7 @@ jobs: - run: python3 script/checkout.py --version ${{ env.version }} - run: python3 script/build.py --build-type ${{ matrix.build_type }} --target ${{ matrix.target }} --machine ${{ matrix.machine }} - run: python3 script/archive.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --target ${{ matrix.target }} --machine ${{ matrix.machine }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: ${{ github.event.inputs.skip_release != 'true' && github.ref == 'refs/heads/main' }} with: name: Skia-${{ env.version }}-${{ matrix.target }}-${{ matrix.build_type }}-${{ matrix.machine }}.zip @@ -63,7 +63,7 @@ jobs: - run: PATH=/usr/lib/binutils-2.26/bin:$PATH python3 script/checkout.py --version ${{ env.version }} - run: PATH=/usr/lib/binutils-2.26/bin:$PATH python3 script/build.py --build-type ${{ matrix.build_type }} - run: PATH=/usr/lib/binutils-2.26/bin:$PATH python3 script/archive.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: ${{ github.event.inputs.skip_release != 'true' && github.ref == 'refs/heads/main' }} with: name: Skia-${{ env.version }}-linux-${{ matrix.build_type }}-x64.zip @@ -90,7 +90,7 @@ jobs: - run: python3 script/checkout.py --version ${{ env.version }} - run: python3 script/build.py --target wasm --machine wasm --build-type ${{ matrix.build_type }} - run: python3 script/archive.py --version ${{ env.version }} --target wasm --machine wasm --build-type ${{ matrix.build_type }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: ${{ github.event.inputs.skip_release != 'true' && github.ref == 'refs/heads/main' }} with: name: Skia-${{ env.version }}-wasm-${{ matrix.build_type }}-wasm.zip @@ -122,7 +122,7 @@ jobs: ndk-version: r25c - run: python3 script/build.py --target android --build-type ${{ matrix.build_type }} --machine ${{ matrix.machine }} --ndk ${{ steps.setup-ndk.outputs.ndk-path }} - run: python3 script/archive.py --version ${{ env.version }} --target android --build-type ${{ matrix.build_type }} --machine ${{ matrix.machine }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: ${{ github.event.inputs.skip_release != 'true' && github.ref == 'refs/heads/main' }} with: name: Skia-${{ env.version }}-android-${{ matrix.build_type }}-${{ matrix.machine }}.zip @@ -195,7 +195,7 @@ jobs: python3 script/checkout.py --version ${build_version} python3 script/build.py --build-type ${build_type} --build-type ${build_type} echo "Verified build" - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: ${{ github.event.inputs.skip_release != 'true' && github.ref == 'refs/heads/main' }} with: name: Skia-${{ env.version }}-linux-${{ matrix.build_type }}-arm64.zip @@ -233,7 +233,7 @@ jobs: run: python3 script/build.py --build-type ${{ matrix.build_type }} --target windows --machine ${{ matrix.machine }} - shell: bash run: python3 script/archive.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --target windows --machine ${{ matrix.machine }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 if: ${{ github.event.inputs.skip_release != 'true' && github.ref == 'refs/heads/main' }} with: name: Skia-${{ env.version }}-windows-${{ matrix.build_type }}-${{ matrix.machine }}.zip