name: Release on: push: tags: - 'v*' permissions: contents: write jobs: build: runs-on: antville env: GH_TOKEN: ${{ github.token }} LC_TIME: en_US.UTF-8 steps: - uses: actions/checkout@v4 - name: Build with Gradle run: ./gradlew assembleDist - name: Create release # FIXME: Currently only outputs gh command; adapt for Forgejo run: | echo gh release create "$GITHUB_REF_NAME" \ --repo "$GITHUB_REPOSITORY" \ --title "$(date +'%d %b %Y')" \ --generate-notes - name: Upload assets # FIXME: Currently only outputs gh command; adapt for Forgejo run: | echo gh release upload "$GITHUB_REF_NAME" \ build/distributions/helma-*.* \ --clobber