Skip to content

Commit

Permalink
Update build-windows-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervanLunteren authored Feb 13, 2025
1 parent 7c440c9 commit 175d122
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions .github/workflows/build-windows-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,27 @@ jobs:
run: |
echo BRANCH_NAME is %BRANCH_NAME%
if "%BRANCH_NAME%"=="main" (
set BUCKET_NAME=github-release-files-storage
set "BUCKET_NAME=github-release-files-storage"
) else (
set BUCKET_NAME=github-release-files-storage-beta-versions
set "BUCKET_NAME=github-release-files-storage-beta-versions"
)
echo BUCKET_NAME=%BUCKET_NAME% >> %GITHUB_ENV%
echo BUCKET_NAME is %BUCKET_NAME%
# - name: Set bucket name based on chosen branch
# shell: cmd
# run: |
# setlocal enabledelayedexpansion
# echo BRANCH_NAME is %BRANCH_NAME%
# if "%BRANCH_NAME%"=="main" (
# set BUCKET_NAME=github-release-files-storage
# ) else (
# set BUCKET_NAME=github-release-files-storage-beta-versions
# )
# rem Trim whitespace and save to GITHUB_ENV
# for /f "tokens=* delims= " %%a in ("!BUCKET_NAME!") do set BUCKET_NAME=%%a
# echo BUCKET_NAME=!BUCKET_NAME! >> %GITHUB_ENV%
# echo BUCKET_NAME is !BUCKET_NAME!



Expand Down

0 comments on commit 175d122

Please sign in to comment.