Skip to content

Upload Release Artifacts #3

Upload Release Artifacts

Upload Release Artifacts #3

Workflow file for this run

on:
create:
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
run: |
directories=("build/libs/*" "reload/build/libs/*");
for file in "${directories[@]}"; do gh release upload ${{ github.ref_name }} $file; done;