Skip to content

Commit

Permalink
fix: use bash
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <[email protected]>
  • Loading branch information
caarlos0 committed Jan 11, 2023
1 parent 53c7647 commit 5ec6d29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@ jobs:
flags: ""
steps:
- if: ${{ github.event_name == 'workflow_dispatch' }}
shell: bash
run: echo "flags=--nightly" >> $GITHUB_ENV
- if: matrix.os == 'ubuntu-latest'
shell: bash
run: echo "goos=linux" >> $GITHUB_ENV
- if: matrix.os == 'macos-latest'
shell: bash
run: echo "goos=darwin" >> $GITHUB_ENV
- if: matrix.os == 'windows-latest'
shell: bash
run: echo "goos=windows" >> $GITHUB_ENV
- run: echo "${{ env.flags }} @ ${{ env.goos }}"
- uses: actions/checkout@v3
with:
fetch-depth: 0
Expand Down

0 comments on commit 5ec6d29

Please sign in to comment.