Skip to content

Commit 477b0f0

Browse files
committed
Publish dev artifacts
1 parent 63da49e commit 477b0f0

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/gradle.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,15 @@ jobs:
2121
run: ./gradlew build
2222
env:
2323
BUILD_ID: ${{ github.run_number }}
24-
- name: Upload build artifacts
25-
uses: actions/upload-artifact@v1
24+
- name: Upload prod artifacts
25+
uses: actions/upload-artifact@v3
2626
with:
2727
name: build-artifacts
28-
path: build/libs
28+
path: |
29+
build/libs/
30+
!build/libs/*-sources.jar
31+
- name: Upload dev artifacts
32+
uses: actions/upload-artifact@v3
33+
with:
34+
name: build-artifacts
35+
path: build/devlibs/

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ jobs:
2626
- name: Upload assets to GitHub
2727
uses: AButler/[email protected]
2828
with:
29-
files: 'build/libs/*;LICENSE'
29+
files: 'build/libs/*;!build/libs/*-sources.jar;build/devlibs/*'
3030
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)