Release common-api, runtime-libgdx and libgdx-spine-extension as artifacts
This commit is contained in:
@@ -26,13 +26,34 @@ jobs:
|
||||
run: ./gradlew dist
|
||||
- name: Build deb package
|
||||
run: ./gradlew jpackage
|
||||
- name: Fix file names
|
||||
- name: Fix deb file names
|
||||
run: mv build/jpackage/*.deb HyperLap2D-SNAPSHOT.deb
|
||||
- name: Upload deb artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: HyperLap2D-SNAPSHOT.deb
|
||||
path: HyperLap2D-SNAPSHOT.deb
|
||||
- name: Fix libgdx-spine-extension file names
|
||||
run: mv h2d-libgdx-spine-extension/build/libs/*.jar h2d-libgdx-spine-extension-SNAPSHOT.jar
|
||||
- name: Upload libgdx-spine-extension artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: h2d-libgdx-spine-extension-SNAPSHOT.jar
|
||||
path: h2d-libgdx-spine-extension-SNAPSHOT.jar
|
||||
- name: Fix runtime-libgdx file names
|
||||
run: mv hyperlap2d-runtime-libgdx/build/libs/*.jar hyperlap2d-runtime-libgdx-SNAPSHOT.jar
|
||||
- name: Upload hyperlap2d-runtime-libgdx artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: hyperlap2d-runtime-libgdx-SNAPSHOT.jar
|
||||
path: hyperlap2d-runtime-libgdx-SNAPSHOT.jar
|
||||
- name: Fix hyperlap2d-common-api names
|
||||
run: mv hyperlap2d-common-api/build/libs/*.jar hyperlap2d-common-api-SNAPSHOT.jar
|
||||
- name: Upload hyperlap2d-common-api artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: hyperlap2d-common-api-SNAPSHOT.jar
|
||||
path: hyperlap2d-common-api-SNAPSHOT.jar
|
||||
|
||||
windows:
|
||||
if: "!contains(github.event.head_commit.message, 'cd skip')"
|
||||
|
||||
Reference in New Issue
Block a user