From f391fed2554b2aabe8005a2d1d415771d89eec5e Mon Sep 17 00:00:00 2001 From: Edwin Jakobs Date: Sun, 17 May 2020 11:00:48 +0200 Subject: Add jpackageZip and Github actions for publishing binaries --- .github/workflows/publish-binaries-macos.yaml | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/publish-binaries-macos.yaml (limited to '.github/workflows/publish-binaries-macos.yaml') diff --git a/.github/workflows/publish-binaries-macos.yaml b/.github/workflows/publish-binaries-macos.yaml new file mode 100644 index 0000000..e631eed --- /dev/null +++ b/.github/workflows/publish-binaries-macos.yaml @@ -0,0 +1,30 @@ +name: Publish macOS binaries + +on: + push: + tags: + - v0.* + - v0.*.* + - v1.* + - v1.*.* + +jobs: + build: + runs-on: macos-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 14 + uses: actions/setup-java@v1 + with: + java-version: 14 + - name: Build with Gradle + run: ./gradlew jpackageZip + - name: Create Release + uses: ncipollo/release-action@v1.6.1 + id: create_release + with: + token: ${{ secrets.GITHUB_TOKEN }} + allowUpdates: true + replaceArtifacts: false + body: Fully automated release + artifacts: "./build/distributions/openrndr-application-macos.zip" \ No newline at end of file -- cgit v1.3.1