Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek authored Jul 19, 2020
1 parent e3d3a7e commit 5dce7c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,16 @@ jobs:
- os: windows-latest
qt-version: '5.7'
steps:
- name: Set Env
run: |
export VERSION=$(cat version.h | sed 's/[^0-9,.]//g')
export TAG=v${VERSION}-${GITHUB_RUN_ID}-${GITHUB_RUN_NUMBER}
echo "::set-env name=VERSION::${VERSION}"
echo "::set-env name=TAG::${TAG}"
- name: Printenv
run: |
echo "VERSION=${VERSION}"
echo "TAG=${TAG}"
printenv
- name: Build project # This would actually build your project, using zip for an example artifact
run: |
Expand Down

0 comments on commit 5dce7c8

Please sign in to comment.