Skip to content

Commit

Permalink
Try to set missing env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Sep 5, 2024
1 parent 68e789c commit c8ee27d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/test_woa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,21 @@ jobs:
- name: Setup Windows ARM64
uses: ./.github/actions/setup-win-arm64

- name: Checkout code again with git, so git commands work.
uses: actions/checkout@v3

- name: Set Git Environment Variables
id: set_git_env_vars
run: |
echo "GIT_COMMIT=$(git rev-parse HEAD)" >> $GITHUB_ENV
echo "GIT_COMMIT_SHORT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
echo "GIT_OPTIONAL_TAG=$(git describe --tags --exact-match 2>/dev/null || echo '')" >> $GITHUB_ENV
echo "GIT_DESCRIBE_ALWAYS=$(git describe --always --tags)" >> $GITHUB_ENV
echo "GIT_DESCRIBE_ALWAYS_LONG=$(git describe --always --tags --long)" >> $GITHUB_ENV
echo "GIT_DESCRIBE_AAL=$(git describe --always --all --long)" >> $GITHUB_ENV
echo "GIT_OPTIONAL_BRANCH=$(git symbolic-ref --short HEAD 2>/dev/null || echo '')" >> $GITHUB_ENV
- name: Install NASM
uses: ./.github/actions/install-nasm

Expand Down

0 comments on commit c8ee27d

Please sign in to comment.