alpha release
This commit is contained in:
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@@ -15,3 +15,19 @@ jobs:
|
||||
uses: gradle/gradle-build-action@v2
|
||||
- name: Execute Gradle build
|
||||
run: ./gradlew build
|
||||
- run: mkdir staging && cp build/libs/*.jar staging
|
||||
- run: cd target && md5sum *.jar > ../md5sum.txt
|
||||
- run: echo "filename=`ls build/libs/*.jar |xargs basename`" >> $GITHUB_ENV
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ env.filename }}
|
||||
path: staging
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: md5sum.txt
|
||||
path: md5sum.txt
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
files: build/libs/*.jar
|
||||
|
||||
Reference in New Issue
Block a user