Update release.yml #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GROOVE samples release | |
on: | |
push: | |
branches: [ "master" ] | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout rule systems | |
uses: actions/checkout@v4 | |
- name: Create zips | |
run: zip-all.sh | |
- name: Retrieve GROOVE version from file | |
run: echo "VERSION=$(<src/main/resources/nl/utwente/groove/resource/version/GROOVE_VERSION) | tr '.' '_'" >> $GITHUB_ENV | |
- name: Deploy release | |
uses: ncipollo/[email protected] | |
with: | |
artifacts: "code/release/target/*.zip" | |
draft: false | |
prerelease: true | |
tag: release-${{ env.VERSION }} |