updates permissions to make version.sh runnable, updates syntax for filling verison output

This commit is contained in:
Christopher Lowenthal 2022-10-31 12:44:26 -04:00
parent fdc539f213
commit f3024367af
2 changed files with 3 additions and 2 deletions

View file

@ -10,14 +10,15 @@ jobs:
version:
runs-on: ubuntu-latest
steps:
- id: version
- uses: actions/checkout@v3
- run: cd $GITHUB_WORKSPACE
- run: pwd
- run: ls -alt
- run: git pull --tags
- run: git describe --tags
- run: echo $(sh .github/workflows/version.sh)
- run: echo "::set-output version=$(sh .github/workflows/version.sh)"
- run: .github/workflows/version.sh
- run: echo "version=$(.github/workflows/version.sh)" >> $GITHUB_OUTPUT
build-lattice:
runs-on: ubuntu-latest

0
.github/workflows/version.sh vendored Normal file → Executable file
View file