diff options
| author | Edwin Jakobs <edwin@rndr.studio> | 2020-05-17 11:00:48 +0200 |
|---|---|---|
| committer | Edwin Jakobs <edwin@rndr.studio> | 2020-05-17 11:00:48 +0200 |
| commit | f391fed2554b2aabe8005a2d1d415771d89eec5e (patch) | |
| tree | 504df06d5d11b4df4d0e7bb4f8d9f77e295b12b2 /.github | |
| parent | 896a8629fae20dcf80f0da3ab4aef9e33269cd26 (diff) | |
| download | art-playground-openrndr-f391fed2554b2aabe8005a2d1d415771d89eec5e.tar.gz art-playground-openrndr-f391fed2554b2aabe8005a2d1d415771d89eec5e.zip | |
Add jpackageZip and Github actions for publishing binaries
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/build-on-commit.yaml | 2 | ||||
| -rw-r--r-- | .github/workflows/publish-binaries-linux-x64.yaml | 30 | ||||
| -rw-r--r-- | .github/workflows/publish-binaries-macos.yaml | 30 | ||||
| -rw-r--r-- | .github/workflows/publish-binaries-windows.yaml | 30 |
4 files changed, 91 insertions, 1 deletions
diff --git a/.github/workflows/build-on-commit.yaml b/.github/workflows/build-on-commit.yaml index 48c0db7..658ce15 100644 --- a/.github/workflows/build-on-commit.yaml +++ b/.github/workflows/build-on-commit.yaml @@ -11,5 +11,5 @@ jobs: - uses: actions/setup-java@v1 with: java-version: 14 - - name: Build apidocs + - name: Build sources run: ./gradlew build
\ No newline at end of file diff --git a/.github/workflows/publish-binaries-linux-x64.yaml b/.github/workflows/publish-binaries-linux-x64.yaml new file mode 100644 index 0000000..4eed920 --- /dev/null +++ b/.github/workflows/publish-binaries-linux-x64.yaml @@ -0,0 +1,30 @@ +name: Publish Linux/x64 binaries + +on: + push: + tags: + - v0.* + - v0.*.* + - v1.* + - v1.*.* + +jobs: + build: + runs-on: ubuntu-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-linux-x64.zip"
\ No newline at end of file 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 diff --git a/.github/workflows/publish-binaries-windows.yaml b/.github/workflows/publish-binaries-windows.yaml new file mode 100644 index 0000000..b6fb4a5 --- /dev/null +++ b/.github/workflows/publish-binaries-windows.yaml @@ -0,0 +1,30 @@ +name: Publish Windows binaries + +on: + push: + tags: + - v0.* + - v0.*.* + - v1.* + - v1.*.* + - +jobs: + build: + runs-on: windows-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-windows.zip"
\ No newline at end of file |
