Skip to content

Commit

Permalink
try some stuff
Browse files Browse the repository at this point in the history
GITHUB_ENV --> env
Get Branch Name as a single line
  • Loading branch information
damies13 committed Feb 23, 2024
1 parent dcbae42 commit 93a668e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/Package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
- name: Git fetch
run: git fetch --prune --unshallow
- name: Get Branch Name
run: |
branchname=$(git rev-parse --abbrev-ref HEAD)
echo branchname=$branchname >> $GITHUB_ENV
run: branchname=$(git rev-parse --abbrev-ref HEAD) && echo branchname=$branchname >> $GITHUB_ENV
- name: Get Current Release Tag
run: |
currrelease=$(git describe --abbrev=0 --tags)
Expand All @@ -51,8 +49,8 @@ jobs:
- name: "Echo Vars 2"
run: |
echo matrix.platform: ${{ GITHUB_ENV.branchname }}
echo matrix.python: ${{ GITHUB_ENV.datestr }}
echo matrix.platform: ${{ env.branchname }}
echo matrix.python: ${{ env.datestr }}
Expand Down

0 comments on commit 93a668e

Please sign in to comment.