Skip to content

Commit

Permalink
Update build-release.yml
Browse files Browse the repository at this point in the history
Use `_` instead of `:` in paths.
  • Loading branch information
zuckerruebe authored Jul 1, 2024
1 parent 600d2d0 commit 88ad548
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- build-executable-push

jobs:
build-exe:
build-release:
runs-on: [self-hosted, etna]
env:
NORMAL_PUSH_TO_MASTER: ${{github.event_name == 'repository_dispatch' && github.event.client_payload.type == 'build-executable-push'}}
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
run: |
$pytrnsys_gui_sha=$(git rev-parse --short HEAD)
$ref_name="${{github.ref_name}}".replace("/","-")
$date = $(venv\Scripts\python -c "import datetime; print(datetime.datetime.now(datetime.UTC).isoformat(timespec='seconds'))")
$date = $(venv\Scripts\python -c "import datetime; print(datetime.datetime.now(datetime.UTC).isoformat(timespec='seconds').replace(':','_'))")
echo "file_name_base=pytrnsys-gui-${ref_name}-gui=${pytrnsys_gui_sha}-pytrnsys=${{steps.sha.outputs.pytrnsys_sha}}-${date}" >> $env:GITHUB_OUTPUT
- if: env.TAG_PUSH_TO_MASTER == 'true' || env.NORMAL_PUSH_TO_MASTER == 'true'
Expand Down

0 comments on commit 88ad548

Please sign in to comment.