Skip to content

Commit

Permalink
Merge branch 'release/0.0.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
bcopy committed Feb 25, 2023
2 parents fa75a60 + bddebb0 commit cdc7d6a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
Expand All @@ -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

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</parent>
<groupId>com.github.cmcrobotics</groupId>
<artifactId>reveal-microservice</artifactId>
<version>0.0.4</version>
<version>0.0.5</version>
<name>RevealJS :: Microservice</name>
<description>A presentation Microservice for Reveal JS presentations</description>
<properties>
Expand Down

0 comments on commit cdc7d6a

Please sign in to comment.