Update build.yml
This commit is contained in:
parent
74e9696dee
commit
7ab9c7b946
1 changed files with 5 additions and 1 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -13,8 +13,10 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
|
name: Test
|
||||||
uses: ./.github/workflows/check.yml
|
uses: ./.github/workflows/check.yml
|
||||||
build:
|
build:
|
||||||
|
name: Build
|
||||||
needs: shellcheck
|
needs: shellcheck
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
@ -62,6 +64,7 @@ jobs:
|
||||||
|
|
||||||
release:
|
release:
|
||||||
needs: build
|
needs: build
|
||||||
|
name: Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
@ -82,7 +85,7 @@ jobs:
|
||||||
echo "NEW_MINOR=$((${{ secrets.MINOR }}+1))" >> $GITHUB_ENV
|
echo "NEW_MINOR=$((${{ secrets.MINOR }}+1))" >> $GITHUB_ENV
|
||||||
-
|
-
|
||||||
name: Update minor version
|
name: Update minor version
|
||||||
uses: hmanzur/actions-set-secret@v2.0.0
|
uses: kroese/set-secret@v3
|
||||||
with:
|
with:
|
||||||
name: 'MINOR'
|
name: 'MINOR'
|
||||||
value: ${{ env.NEW_MINOR }}
|
value: ${{ env.NEW_MINOR }}
|
||||||
|
@ -90,6 +93,7 @@ jobs:
|
||||||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||||
|
|
||||||
mirror:
|
mirror:
|
||||||
|
name: Mirror
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
Loading…
Reference in a new issue