Skip to content

Commit

Permalink
Also upload dev jars from their new home
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadiboo committed Apr 26, 2024
1 parent c1d3ac5 commit 9fcaa1c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,17 @@ jobs:
echo "signSHA1=${{ secrets.KEYSTORE_SIGN_SHA1 }}" >> gradle.properties
- name: Build and check
run: ./gradlew build --stacktrace
- name: Archive jars
- name: Archive development jars
uses: actions/upload-artifact@v3
with:
name: signed-jars
path: |
./build/libs/*.jar
name: Development jars inside
path: ./build/devlibs/*.jar
if-no-files-found: error
- name: Archive playable jar
uses: actions/upload-artifact@v3
with:
name: Playable mod jar inside
path: ./build/libs/*.jar
if-no-files-found: error
- name: Integration tests
run: ./gradlew runGameTestServer --stacktrace
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ sourcesJar {
destinationDirectory
}
remapSourcesJar {
destinationDirectory = file('build/devlibs')
dependsOn(sourcesJar)
mustRunAfter(sourcesJar)
inputFile = file(sourcesJar.archiveFile)
Expand Down

0 comments on commit 9fcaa1c

Please sign in to comment.