mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-10 16:43:09 +00:00
ci: use semantic release action v3
This commit is contained in:
committed by
Romain Lespinasse
parent
944fee4603
commit
99afdf4551
29
.github/workflows/release-dryrun.yml
vendored
Normal file
29
.github/workflows/release-dryrun.yml
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
name: '[v3] Release DryRun'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches-ignore:
|
||||
- v*.x
|
||||
|
||||
jobs:
|
||||
release-dryrun:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: technote-space/auto-cancel-redundant-workflow@v1
|
||||
- uses: actions/checkout@v2
|
||||
- run: npm install
|
||||
- run: npm run all
|
||||
- uses: ./
|
||||
- uses: cycjimmy/semantic-release-action@v3
|
||||
with:
|
||||
branches: |
|
||||
[
|
||||
"${{ env.GITHUB_REF_NAME }}"
|
||||
]
|
||||
extra_plugins: |
|
||||
@semantic-release/changelog
|
||||
@semantic-release/exec
|
||||
@semantic-release/git
|
||||
dry_run: true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: "[v3] Release"
|
||||
name: '[v3] Release'
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -13,6 +13,11 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
- run: npm install
|
||||
- run: npm run all
|
||||
- uses: cycjimmy/semantic-release-action@v2
|
||||
- uses: cycjimmy/semantic-release-action@v3
|
||||
with:
|
||||
extra_plugins: |
|
||||
@semantic-release/changelog
|
||||
@semantic-release/exec
|
||||
@semantic-release/git
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user