Skip to content

Workflow file for this run

on: release
permissions:
contents: write
pull-requests: write
jobs:
build:
name: Upload Release Artifacts
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'microsoft'
java-version: 17
- name: Make Gradle executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Upload Artifacts
env:
GH_TOKEN: ${{ github.token }}
run: |
gh release upload ${{ github.ref_name }} build/libs/Spikedog.jar &
gh release upload ${{ github.ref_name }} info-module/build/libs/info-module.jar &
gh release upload ${{ github.ref_name }} reload-module/build/libs/reload-module.jar &