Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt authored Nov 1, 2023
1 parent b5fd58d commit af2bf3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ jobs:
with:
java: 17
gradle_tasks: 'publish'
version_task: 'outputVersion'
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,10 @@ tasks.register('publish') {
doLast {
println 'HI!!!!!'
}
}

tasks.register('outputVersion') {
doLast {
file(System.getenv('GITHUB_OUTPUT')) << 'version=1.0.4234'
}
}

0 comments on commit af2bf3d

Please sign in to comment.