Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
CADIndie authored Nov 7, 2024
1 parent e196697 commit df18b4b
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,15 @@ jobs:
name: "Build for Android ${{matrix.arch}}"
runs-on: self-hosted
steps:
- name: Install build dependencies
run: |
echo ${{ secrets.USERPWD }} | sudo -S apt update
echo ${{ secrets.USERPWD }} | sudo -S apt -y install cmake autoconf python3 python-is-python3 unzip zip systemtap-sdt-dev libxtst-dev libasound2-dev libelf-dev libfontconfig1-dev libx11-dev libxext-dev libxrandr-dev libxrender-dev libxtst-dev libxt-dev
- name: Checkout repository
uses: actions/checkout@v4
- name: Build with CI build script
run: export TARGET_VERSION=${{ matrix.version }} && echo ${{ secrets.USERPWD }} | sudo -S bash "ci_build_arch_${{matrix.arch}}.sh"
run: echo ${{ secrets.USERPWD }} | sudo -S bash "ci_build_arch_${{matrix.arch}}.sh"
- name: Upload JDK build output
uses: actions/upload-artifact@v4
with:
name: "jdk22-${{matrix.arch}}"
path: jdk22*.tar.xz
name: "jdk24-${{matrix.arch}}"
path: jdk24*.tar.xz
- name: Upload JRE build output
uses: actions/upload-artifact@v4
with:
Expand All @@ -44,7 +39,7 @@ jobs:

pojav:
needs: build_android
runs-on: ubuntu-20.04
runs-on: self-hosted
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down

0 comments on commit df18b4b

Please sign in to comment.