From ffe6e60a1ef2afd8b22d0987bd5bd8e5ac8f626c Mon Sep 17 00:00:00 2001
From: bcopy <500789+bcopy@users.noreply.github.com>
Date: Sat, 25 Feb 2023 10:18:20 +0100
Subject: [PATCH 1/3] Update for next development version
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index f957a93..7c76892 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
com.github.cmcrobotics
reveal-microservice
- 0.0.4
+ 0.0.5-SNAPSHOT
RevealJS :: Microservice
A presentation Microservice for Reveal JS presentations
From 5398a3a8f7f6c27219f0ff050ce36f10068aa809 Mon Sep 17 00:00:00 2001
From: bcopy <500789+bcopy@users.noreply.github.com>
Date: Sat, 25 Feb 2023 10:43:45 +0100
Subject: [PATCH 2/3] Use seperate upload steps for windows and unix
---
.github/workflows/release.yml | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index c34a76a..07407d3 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -30,9 +30,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
- os: [macos-latest, windows-latest, ubuntu-latest]
+ os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- # checkout of cource
- name: Checkout code
uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1.0.9
@@ -45,18 +44,26 @@ jobs:
- name: Build the microservice
run: |
./mvnw -q -B native:compile -Pnative
- # ... whatever build and packaging steps you need here
- # and finally do an upload!
- - name: Upload release assets
+ - name: Upload UNIX release assets
+ if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.create_release.outputs.upload_url }}
- asset_name: reveal-microservice-${{ github.ref }}-${{ matrix.os }}
- # The path to the file you want to upload.
+ asset_name: reveal-microservice-${{ matrix.os }}
asset_path: |
target/reveal-microservice
+ asset_content_type: application/octet-stream
+ - name: Upload Windows release asset and platform independent JAR
+ if: matrix.os == 'windows-latest'
+ uses: actions/upload-release-asset@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ needs.create_release.outputs.upload_url }}
+ asset_name: reveal-microservice-${{ matrix.os }}
+ asset_path: |
target/reveal-microservice.exe
asset_content_type: application/octet-stream
From bddebb0ab11f0bb23042f8a7fb05493578b212eb Mon Sep 17 00:00:00 2001
From: bcopy <500789+bcopy@users.noreply.github.com>
Date: Sat, 25 Feb 2023 10:46:18 +0100
Subject: [PATCH 3/3] Update versions for release
---
pom.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 7c76892..fb18ac5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
com.github.cmcrobotics
reveal-microservice
- 0.0.5-SNAPSHOT
+ 0.0.5
RevealJS :: Microservice
A presentation Microservice for Reveal JS presentations