From e35317118a1a4a7a2dc85ff5aa996f5f4d3f4197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Tue, 28 May 2024 21:40:51 +0200 Subject: [PATCH] [workflows:executables] set bash as default shell for all runners should fix environment variables on Windows --- .github/workflows/executables.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/executables.yml b/.github/workflows/executables.yml index ffeff7ff..f9bcd701 100644 --- a/.github/workflows/executables.yml +++ b/.github/workflows/executables.yml @@ -15,6 +15,9 @@ jobs: build: runs-on: ${{ matrix.os }} + defaults: + run: + shell: bash strategy: fail-fast: false matrix: @@ -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" @@ -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