Artifality 0.6.1+1.20 #4
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/[email protected] | |
with: | |
files: "build/libs/*" | |
repo-token: ${{ secrets.GH_TOKEN }} |