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:
|
||||
shellcheck:
|
||||
name: Test
|
||||
uses: ./.github/workflows/check.yml
|
||||
build:
|
||||
name: Build
|
||||
needs: shellcheck
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
|
@ -62,6 +64,7 @@ jobs:
|
|||
|
||||
release:
|
||||
needs: build
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
@ -82,7 +85,7 @@ jobs:
|
|||
echo "NEW_MINOR=$((${{ secrets.MINOR }}+1))" >> $GITHUB_ENV
|
||||
-
|
||||
name: Update minor version
|
||||
uses: hmanzur/actions-set-secret@v2.0.0
|
||||
uses: kroese/set-secret@v3
|
||||
with:
|
||||
name: 'MINOR'
|
||||
value: ${{ env.NEW_MINOR }}
|
||||
|
@ -90,6 +93,7 @@ jobs:
|
|||
token: ${{ secrets.REPO_ACCESS_TOKEN }}
|
||||
|
||||
mirror:
|
||||
name: Mirror
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
|
|
Loading…
Reference in a new issue