Skip to content

Commit

Permalink
[workflows:executables] set bash as default shell for all runners
Browse files Browse the repository at this point in the history
should fix environment variables on Windows
  • Loading branch information
mikf committed May 28, 2024
1 parent 05f8435 commit e353171
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/executables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
build:

runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
strategy:
fail-fast: false
matrix:
Expand All @@ -41,7 +44,7 @@ jobs:
python-version: ${{ matrix.python-version }}
architecture: ${{ matrix.architecture }}

- name: Date
- name: Environment Variables
run: |
echo "DATE=$(date '+${{ env.DATE_FORMAT }}')" >> "$GITHUB_ENV"
echo "LABEL=$(python ./scripts/pyinstaller.py --print --os '${{ matrix.os }}' --arch '${{ matrix.architecture }}')" >> "$GITHUB_ENV"
Expand Down Expand Up @@ -85,7 +88,7 @@ jobs:
steps:
- uses: actions/download-artifact@v4

- name: Date
- name: Environment Variables
run: echo "DATE=$(date '+${{ env.DATE_FORMAT }}')" >> "$GITHUB_ENV"

- name: Body
Expand Down

1 comment on commit e353171

@gphg
Copy link

@gphg gphg commented on e353171 May 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.