Skip to content

Commit

Permalink
Update actions/upload-artifact to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
MatkovIvan committed Sep 17, 2024
1 parent 8fbb926 commit 0a71b95
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 0a71b95

Please sign in to comment.