Skip to content

Commit

Permalink
Add JAR to release
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes committed Nov 5, 2024
1 parent 9ba0006 commit 27ca1b0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ github.token }}
if: github.event_name != 'workflow_dispatch'
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./target/student-mobility-inteken-ontvanger-generiek-${{ steps.versioncheck.outputs.version }}.jar
asset_name: student-mobility-inteken-ontvanger-generiek-${{ steps.versioncheck.outputs.version }}.jar
asset_content_type: application/java-archive

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>org.surfnet</groupId>
<artifactId>student-mobility-inteken-ontvanger-generiek</artifactId>
<version>0.2.20</version>
<version>0.2.21</version>
<name>inteken-ontvanger-generiek</name>
<description>inteken-ontvanger-generiek</description>
<properties>
Expand Down

0 comments on commit 27ca1b0

Please sign in to comment.