Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
Retrieve version number for release tag
  • Loading branch information
rensink authored Mar 30, 2024
1 parent e020988 commit 269f122
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: GROOVE samples release

on:
push:
branches: [ "master" ]

workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout rule systems
uses: actions/checkout@v3

- 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: ${{ env.VERSION }}

0 comments on commit 269f122

Please sign in to comment.