mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
github action: enforce issue detection with bash (#8168)
This commit is contained in:
parent
44ec4bea56
commit
04c2322721
30
.github/workflows/pull-request.yml
vendored
30
.github/workflows/pull-request.yml
vendored
@ -15,6 +15,9 @@ jobs:
|
|||||||
build-linux:
|
build-linux:
|
||||||
name: Build ${{ matrix.chunk }}
|
name: Build ${{ matrix.chunk }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chunk: [0, 1, 2, 3, 4, 5, 6, 7]
|
chunk: [0, 1, 2, 3, 4, 5, 6, 7]
|
||||||
@ -47,6 +50,9 @@ jobs:
|
|||||||
build-debug-ipv6:
|
build-debug-ipv6:
|
||||||
name: Debug IPv6 ${{ matrix.chunk }}
|
name: Debug IPv6 ${{ matrix.chunk }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
chunk: [0, 1, 2, 3, 4, 5, 6, 7]
|
chunk: [0, 1, 2, 3, 4, 5, 6, 7]
|
||||||
@ -110,6 +116,9 @@ jobs:
|
|||||||
build-mac:
|
build-mac:
|
||||||
name: Mac
|
name: Mac
|
||||||
runs-on: macOS-latest
|
runs-on: macOS-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -139,6 +148,9 @@ jobs:
|
|||||||
build-pio:
|
build-pio:
|
||||||
name: Build Platform.IO
|
name: Build Platform.IO
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -163,6 +175,9 @@ jobs:
|
|||||||
host-tests:
|
host-tests:
|
||||||
name: Host tests
|
name: Host tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -184,6 +199,9 @@ jobs:
|
|||||||
documentation:
|
documentation:
|
||||||
name: Documentation
|
name: Documentation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -208,6 +226,9 @@ jobs:
|
|||||||
style-check:
|
style-check:
|
||||||
name: Style and formatting
|
name: Style and formatting
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -229,6 +250,9 @@ jobs:
|
|||||||
mock-check:
|
mock-check:
|
||||||
name: Mock trivial test
|
name: Mock trivial test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -248,6 +272,9 @@ jobs:
|
|||||||
boards-check:
|
boards-check:
|
||||||
name: Boards.txt check
|
name: Boards.txt check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -275,6 +302,9 @@ jobs:
|
|||||||
code-spell:
|
code-spell:
|
||||||
name: Check spelling
|
name: Check spelling
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
6
.github/workflows/release-to-publish.yml
vendored
6
.github/workflows/release-to-publish.yml
vendored
@ -32,6 +32,9 @@ jobs:
|
|||||||
package:
|
package:
|
||||||
name: Update master JSON file
|
name: Update master JSON file
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -42,7 +45,8 @@ jobs:
|
|||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Set GIT tag name
|
- name: Set GIT tag name
|
||||||
run: |
|
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
|
- name: Deploy updated JSON
|
||||||
env:
|
env:
|
||||||
TRAVIS_BUILD_DIR: ${{ github.workspace }}
|
TRAVIS_BUILD_DIR: ${{ github.workspace }}
|
||||||
|
6
.github/workflows/tag-to-draft-release.yml
vendored
6
.github/workflows/tag-to-draft-release.yml
vendored
@ -14,6 +14,9 @@ jobs:
|
|||||||
package:
|
package:
|
||||||
name: Package
|
name: Package
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
@ -25,7 +28,8 @@ jobs:
|
|||||||
- name: Set GIT tag name
|
- name: Set GIT tag name
|
||||||
run: |
|
run: |
|
||||||
# Sets an environment variable used in the next steps
|
# 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
|
- name: Build package JSON
|
||||||
env:
|
env:
|
||||||
TRAVIS_BUILD_DIR: ${{ github.workspace }}
|
TRAVIS_BUILD_DIR: ${{ github.workspace }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user