Skip to content

Commit

Permalink
Change workflow... for the time being
Browse files Browse the repository at this point in the history
  • Loading branch information
Slotterleet committed Jun 17, 2024
1 parent ea4dc31 commit 6b3165e
Showing 1 changed file with 19 additions and 15 deletions.
34 changes: 19 additions & 15 deletions .github/workflows/workflow-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,23 @@ on: [push, pull_request]
jobs:
buildJar:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 20
uses: actions/setup-java@v1
with:
java-version: 20
- name: Build mod jars
run: |
chmod +x gradlew
./gradlew copyBuildRelease --stacktrace
- name: Upload built jar file
uses: actions/upload-artifact@v3
with:
name: ${{ github.event.repository.name }}
path: artifacts/*.jar
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Setup Android SDK
uses: android-actions/setup-android@v3
with:
packages: 'platforms;android-34 build-tools;34.0.0'
- name: Build mod artifact
run: |
chmod +x gradlew
./gradlew proc:run :dex
- name: Upload built mod artifact
uses: actions/upload-artifact@v4
with:
name: FOS (zipped)
path: build/libs/FOS.jar

0 comments on commit 6b3165e

Please sign in to comment.