diff --git a/.github/workflows/test_woa.yml b/.github/workflows/test_woa.yml index 40efecd8..ecbd107b 100644 --- a/.github/workflows/test_woa.yml +++ b/.github/workflows/test_woa.yml @@ -22,27 +22,7 @@ jobs: - name: Checkout code again with git, so git commands work. uses: actions/checkout@v3 - - name: Set Git Environment Variables - id: set_git_env_vars - shell: powershell - run: | - $env:GIT_COMMIT = git rev-parse HEAD - $env:GIT_COMMIT_SHORT = git rev-parse --short HEAD - $env:GIT_OPTIONAL_TAG = if ($(git describe --tags --exact-match 2>$null)) { $(git describe --tags --exact-match) } else { '' } - $env:GIT_DESCRIBE_ALWAYS = git describe --always --tags - $env:GIT_DESCRIBE_ALWAYS_LONG = git describe --always --tags --long - $env:GIT_DESCRIBE_AAL = git describe --always --all --long - $env:GIT_OPTIONAL_BRANCH = if ($(git symbolic-ref --short HEAD 2>$null)) { $(git symbolic-ref --short HEAD) } else { '' } - - # Output the variables to GITHUB_ENV - "GIT_COMMIT=$env:GIT_COMMIT" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - "GIT_COMMIT_SHORT=$env:GIT_COMMIT_SHORT" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - "GIT_OPTIONAL_TAG=$env:GIT_OPTIONAL_TAG" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - "GIT_DESCRIBE_ALWAYS=$env:GIT_DESCRIBE_ALWAYS" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - "GIT_DESCRIBE_ALWAYS_LONG=$env:GIT_DESCRIBE_ALWAYS_LONG" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - "GIT_DESCRIBE_AAL=$env:GIT_DESCRIBE_AAL" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - "GIT_OPTIONAL_BRANCH=$env:GIT_OPTIONAL_BRANCH" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - + - name: Install NASM uses: ./.github/actions/install-nasm