Push to env:GITHUB_ENV #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test windows commands | |
on: | |
push: | |
branches: | |
- test-windows | |
jobs: | |
windows: | |
runs-on: [windows-latest] | |
steps: | |
- name: Set version | |
run: echo "APP_VERSION=$(grep version gradle.properties | cut -d= -f2)" >> $env:GITHUB_ENV | |
- name: Echo version | |
run: echo $env:APP_VERSION | |
- name: Echo version with other text | |
run: echo app-$env:APP_VERSION-all.jar |