1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 02:32:33 +01:00

[workflows:executables] set bash as default shell for all runners

should fix environment variables on Windows
This commit is contained in:
Mike Fährmann 2024-05-28 21:40:51 +02:00
parent 05f8435e09
commit e35317118a
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

View File

@ -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