manual artifact workflow
This commit is contained in:
33
.github/workflows/manual-artifact.yml
vendored
Normal file
33
.github/workflows/manual-artifact.yml
vendored
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
name: manual-artifact
|
||||||
|
|
||||||
|
on: [ workflow_dispatch ]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout sources
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Verify wrapper
|
||||||
|
uses: gradle/actions/wrapper-validation@v3
|
||||||
|
|
||||||
|
- name: Setup Java
|
||||||
|
uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: temurin
|
||||||
|
java-version: 21
|
||||||
|
|
||||||
|
- name: Setup Gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v4
|
||||||
|
with:
|
||||||
|
cache-read-only: false
|
||||||
|
|
||||||
|
- name: Gradle build
|
||||||
|
run: ./gradlew build
|
||||||
|
|
||||||
|
- name: Upload artifact
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: voxy-artifacts
|
||||||
|
path: build/libs/*.jar
|
||||||
Reference in New Issue
Block a user