diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 7a8f7beb34..74f1b43063 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -15,6 +15,9 @@ jobs: build-linux: name: Build ${{ matrix.chunk }} runs-on: ubuntu-latest + defaults: + run: + shell: bash strategy: matrix: chunk: [0, 1, 2, 3, 4, 5, 6, 7] @@ -47,6 +50,9 @@ jobs: build-debug-ipv6: name: Debug IPv6 ${{ matrix.chunk }} runs-on: ubuntu-latest + defaults: + run: + shell: bash strategy: matrix: chunk: [0, 1, 2, 3, 4, 5, 6, 7] @@ -110,6 +116,9 @@ jobs: build-mac: name: Mac runs-on: macOS-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: @@ -139,6 +148,9 @@ jobs: build-pio: name: Build Platform.IO runs-on: ubuntu-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: @@ -163,6 +175,9 @@ jobs: host-tests: name: Host tests runs-on: ubuntu-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: @@ -184,6 +199,9 @@ jobs: documentation: name: Documentation runs-on: ubuntu-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: @@ -208,6 +226,9 @@ jobs: style-check: name: Style and formatting runs-on: ubuntu-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: @@ -229,6 +250,9 @@ jobs: mock-check: name: Mock trivial test runs-on: ubuntu-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: @@ -248,6 +272,9 @@ jobs: boards-check: name: Boards.txt check runs-on: ubuntu-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: @@ -275,6 +302,9 @@ jobs: code-spell: name: Check spelling runs-on: ubuntu-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: diff --git a/.github/workflows/release-to-publish.yml b/.github/workflows/release-to-publish.yml index 852f3b69a5..90b71d72fd 100644 --- a/.github/workflows/release-to-publish.yml +++ b/.github/workflows/release-to-publish.yml @@ -32,6 +32,9 @@ jobs: package: name: Update master JSON file runs-on: ubuntu-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: @@ -42,7 +45,8 @@ jobs: python-version: '3.x' - name: Set GIT tag name run: | - echo "TRAVIS_TAG=$(git describe --exact-match --tags)" >> $GITHUB_ENV + TRAVIS_TAG="$(git describe --exact-match --tags)" + echo "TRAVIS_TAG=\"${TRAVIS_TAG}\"" >> $GITHUB_ENV - name: Deploy updated JSON env: TRAVIS_BUILD_DIR: ${{ github.workspace }} diff --git a/.github/workflows/tag-to-draft-release.yml b/.github/workflows/tag-to-draft-release.yml index 7830743318..e649723982 100644 --- a/.github/workflows/tag-to-draft-release.yml +++ b/.github/workflows/tag-to-draft-release.yml @@ -14,6 +14,9 @@ jobs: package: name: Package runs-on: ubuntu-latest + defaults: + run: + shell: bash steps: - uses: actions/checkout@v2 with: @@ -25,7 +28,8 @@ jobs: - name: Set GIT tag name run: | # Sets an environment variable used in the next steps - echo "TRAVIS_TAG=$(git describe --exact-match --tags)" >> $GITHUB_ENV + TRAVIS_TAG="$(git describe --exact-match --tags)" + echo "TRAVIS_TAG=\"${TRAVIS_TAG}\"" >> $GITHUB_ENV - name: Build package JSON env: TRAVIS_BUILD_DIR: ${{ github.workspace }}