name: Publish Linux/x64 binaries on: push: tags: - v0.* - v0.*.* - v1.* - v1.*.* permissions: contents: write jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set up JDK 17 uses: actions/setup-java@v1 with: java-version: 17 - name: Build with Gradle run: ./gradlew jpackageZip - name: Rename jpackage zip run: mv ./build/distributions/openrndr-application.zip ./build/distributions/openrndr-application-linux-x64.zip - name: Create Release uses: ncipollo/release-action@v1.12.0 id: create_release with: token: ${{ secrets.GITHUB_TOKEN }} allowUpdates: true replacesArtifacts: false body: Fully automated release artifacts: "./build/distributions/openrndr-application-linux-x64.zip"