From 983d88518022f5a506bd6fa8d67cba359e7c697a Mon Sep 17 00:00:00 2001 From: Richard Fox Date: Fri, 27 Oct 2023 16:58:21 -0700 Subject: [PATCH] fix(ci): use bash for all run steps --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cbd6626..f3e6ce3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,9 @@ name: Publish Library on: release: types: [published] +defaults: + run: + shell: bash jobs: build: # 2019, has our .NET needs, latest does not @@ -12,7 +15,7 @@ jobs: - uses: actions/checkout@v4 # While this package targets .Net Framework 4.6.2, the dotnet 7 stuff will work. - name: Get version - run: echo "VERSION=${{ github.event.release.tag_name }}" >> $GITHUB_ENV + run: echo "VERSION=${{ github.event.release.tag_name }}" >> "$GITHUB_ENV" - name: Read version run: | echo Version now: ${VERSION}