diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d78e313..9307795 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,10 +1,7 @@ on: push: - # Sequence of patterns matched against refs/tags - branches: - - master - #tags: - # - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + tags: + - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 name: Create Release @@ -32,6 +29,7 @@ jobs: sudo apt install -y mono-complete npm install npm run make + echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV - name: Create Release id: create_release uses: actions/create-release@v1