Skip to content

Commit

Permalink
Figuring out how to upload multiple artifacts v2
Browse files Browse the repository at this point in the history
  • Loading branch information
rust2 committed Jun 14, 2024
1 parent 79d9226 commit 342a093
Showing 1 changed file with 11 additions and 23 deletions.
34 changes: 11 additions & 23 deletions .github/workflows/build_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Do checkout (whatever that means)
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup JDK
uses: actions/setup-java@v3
Expand All @@ -33,32 +33,20 @@ jobs:
./gradlew desktop:dist
./gradlew desktopLwjgl3:dist
# - name: Upload debug APK
# uses: actions/upload-artifact@v3
# with:
# name: app-debug.apk
# path: android/build/outputs/apk/debug/android-debug.apk

# - name: Upload lwjgl2 dist
# uses: actions/upload-artifact@v3
# with:
# name: app-desktopLwjgl2.jar
# path: desktop/build/libs/desktop-1.0.jar

# - name: Upload lwjgl3 dist
# uses: actions/upload-artifact@v3
# with:
# name: app-desktopLwjgl3.jar
# path: desktopLwjgl3/build/libs/desktopLwjgl3-1.0.jar

- name: Upload these artifacts
uses: actions/upload-artifact@v4
- name: Upload debug APK
uses: actions/upload-artifact@v3
with:
name: app-debug.apk
path: android/build/outputs/apk/debug/android-debug.apk

- name: Upload lwjgl2 dist
uses: actions/upload-artifact@v3
with:
name: app-desktopLwjgl2.jar
path: desktop/build/libs/desktop-*.jar
path: desktop/build/libs/desktop-1.0.jar

- name: Upload lwjgl3 dist
uses: actions/upload-artifact@v3
with:
name: app-desktopLwjgl3.jar
path: desktopLwjgl3/build/libs/desktopLwjgl3-*.jar
path: desktopLwjgl3/build/libs/desktopLwjgl3-1.0.jar

0 comments on commit 342a093

Please sign in to comment.