diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b5075710..27e74d03 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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-* @@ -50,18 +50,18 @@ 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-* @@ -69,7 +69,7 @@ jobs: 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 @@ -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-* @@ -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