Artifality 0.6.0+1.20 #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish-github | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Change wrapper permissions | |
run: chmod +x ./gradlew | |
- name: Build artifacts | |
run: ./gradlew build | |
- name: Upload assets to GitHub | |
uses: AButler/upload-release-assets@v3.0 | |
with: | |
files: "build/libs/*" | |
repo-token: ${{ secrets.GH_TOKEN }} |