Skip to content

Commit

Permalink
Bump actions
Browse files Browse the repository at this point in the history
  • Loading branch information
tonsky committed Dec 28, 2022
1 parent 4658b06 commit 87d111a
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
build_macos:
runs-on: macos-10.15
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: seanmiddleditch/gha-setup-ninja@master
Expand All @@ -29,14 +29,14 @@ jobs:
- run: python3 script/build.py
- run: python3 script/test.py
- run: python3 script/package_platform.py
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: macos-x64-jars
path: target/skija-macos-x64-*
- run: python3 script/clean.py
- run: python3 script/build.py --arch arm64
- run: python3 script/package_platform.py --arch arm64
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: macos-arm64-jars
path: target/skija-macos-arm64-*
Expand All @@ -50,26 +50,26 @@ jobs:
sudo apt-get --quiet --yes install ninja-build libglu1-mesa-dev
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 --slave /usr/bin/g++ g++ /usr/bin/g++-9
sudo update-alternatives --config gcc
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: python3 script/build.py
- run: python3 script/package_shared.py
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: shared-jars
path: target/skija-shared-*.jar
- run: python3 script/test.py
- run: python3 script/package_platform.py
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: linux-x64-jars
path: target/skija-linux-x64-*

build_windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: microsoft/setup-msbuild@v1
- uses: ilammy/msvc-dev-cmd@v1
- uses: seanmiddleditch/gha-setup-ninja@master
Expand All @@ -81,7 +81,7 @@ jobs:
- shell: bash
run: python3 script/test.py
- run: python3 script/package_platform.py
- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v3
with:
name: windows-x64-jars
path: target/skija-windows-x64-*
Expand All @@ -91,7 +91,7 @@ jobs:
runs-on: ubuntu-latest
needs: [build_windows, build_linux, build_macos]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- run: |
echo "JAVA_HOME=$JAVA_HOME_11_X64" >> $GITHUB_ENV
echo "$JAVA_HOME_11_X64/bin" >> $GITHUB_PATH
Expand Down

0 comments on commit 87d111a

Please sign in to comment.