Skip to content

Commit

Permalink
fix: add VERSION env var to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
saenai255 committed Mar 1, 2022
1 parent e1823a9 commit a7c3cfb
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ jobs:
permissions:
contents: write
steps:
- name: Set variables
id: vars
run: echo ::set-output name=tag::${GITHUB_REF##*/}

- name: Checkout repository
uses: actions/checkout@v2

Expand All @@ -29,8 +25,11 @@ jobs:
- name: Install make
run: sudo apt install make

- uses: little-core-labs/[email protected]
id: tagName

- name: Build Sources
run: VERSION="${{ steps.vars.output.tag }}" make
run: VERSION="${{ steps.tagName.outputs.tag }}" make

- name: Publish new release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit a7c3cfb

Please sign in to comment.