Skip to content

Commit 16c92d5

Browse files
committed
Actions: use bash for all shells
1 parent 24e1239 commit 16c92d5

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,12 @@ jobs:
2020

2121
runs-on: ${{ matrix.runs-on }}
2222

23+
defaults:
24+
run:
25+
shell: bash
26+
2327
steps:
2428
- name: Set version
25-
shell: bash
2629
run: |
2730
TAG=${{ github.ref_name }}
2831
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
@@ -48,7 +51,6 @@ jobs:
4851
run: dotnet publish StringSpy --no-restore --self-contained true --runtime ${{ matrix.rid }} /p:Version=${VERSION}
4952

5053
- name: Create archive
51-
shell: bash
5254
working-directory: StringSpy/bin/Release/net9.0/${{ matrix.rid }}/publish/
5355
run: ${{ matrix.archive-cmd }} stringspy-${VERSION}-${{ matrix.rid }}.${{ matrix.archive-suffix }} *
5456

0 commit comments

Comments
 (0)