aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.github/workflows/build-on-commit.yaml2
-rw-r--r--.github/workflows/publish-binaries-linux-x64.yaml30
-rw-r--r--.github/workflows/publish-binaries-macos.yaml30
-rw-r--r--.github/workflows/publish-binaries-windows.yaml30
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