Skip to content
This repository has been archived by the owner on Mar 27, 2023. It is now read-only.

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
V3lop5 authored Mar 3, 2021
1 parent db90614 commit aef4f37
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,13 @@ jobs:
- name: Install node modules
working-directory: ./src-frontend
run: npm install

- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Build with Gradle
run: gradle -Pversion="${{ github.ref }}" build
run: gradle -Pversion="${{ steps.get_version.outputs.VERSION }}" build
env:
USERNAME: ${{ github.actor }}
TOKEN: ${{ secrets.PACKAGE_TOKEN }}
Expand Down

0 comments on commit aef4f37

Please sign in to comment.