Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
types:
- closed

permissions:
contents: write

jobs:
build-and-package:
runs-on: ubuntu-latest
Expand All @@ -17,6 +20,8 @@ jobs:
steps:
- name: Check out code
uses: actions/checkout@v4
with:
persist-credentials: true

- name: Set up JDK 17 from GraalVM
run: |
Expand All @@ -36,7 +41,11 @@ jobs:
run: echo "::set-output name=tag::$(date +'%Y%m%dT%H%M%S')"

- name: Create Git Tag
run: git tag ${{ steps.newtag.outputs.tag }} && git push origin ${{ steps.newtag.outputs.tag }}
run: |
git config --global user.name 'GitHub Actions'
git config --global user.email 'actions@github.com'
git tag ${{ steps.newtag.outputs.tag }}
git push origin ${{ steps.newtag.outputs.tag }}

- name: Publish Release
uses: softprops/action-gh-release@v1
Expand Down