Skip to content

Commit

Permalink
build: added workflow release
Browse files Browse the repository at this point in the history
  • Loading branch information
orewaee committed Jul 17, 2024
1 parent d578a24 commit 62abe6d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release
on:
push:
tags:
- "v*.*.*"
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: corretto
- uses: gradle/gradle-build-action@v2
- run: chmod +x ./gradlew
- run: ./gradlew shadowJar
- uses: softprops/action-gh-release@v2
with:
append_body: true
token: "${{ secrets.GITHUB_TOKEN }}"
files: |
velocity/build/libs/*.jar

0 comments on commit 62abe6d

Please sign in to comment.