Compare commits
17 commits
Author | SHA1 | Date | |
---|---|---|---|
241e161355 |
|||
5a491cd7a8 |
|||
977474de19 |
|||
ec60960c66 |
|||
09778cd033 |
|||
12b9f7ac51 |
|||
a8ddce75a2 |
|||
ef7cc40f83 | |||
d017433bc1 | |||
e031e9b0e6 | |||
b4d1f9181a | |||
ac1ba7df2b | |||
a7c4051e98 | |||
050cd55e03 | |||
01ba711b20 | |||
7d190234a0 | |||
73a5143f82 |
1 changed files with 12 additions and 4 deletions
16
action.yml
16
action.yml
|
@ -7,6 +7,10 @@ inputs:
|
|||
GITEA_TOKEN:
|
||||
description: "Gitea token"
|
||||
required: true
|
||||
NPM_TOKEN:
|
||||
description: "NPM Publish token"
|
||||
required: false
|
||||
default: ""
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
|
@ -20,12 +24,16 @@ runs:
|
|||
with:
|
||||
node-version: "lts/*"
|
||||
- name: Install dependencies
|
||||
run: npm install semantic-release @saithodev/semantic-release-gitea @semantic-release/changelog
|
||||
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
|
||||
run: npm audit signatures
|
||||
run: npm install semantic-release @saithodev/semantic-release-gitea @semantic-release/changelog @semantic-release/release-notes-generator commitlint-plugin-cleanfeet conventional-changelog-conventionalcommits @semantic-release/git --force
|
||||
- name: Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
||||
GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }}
|
||||
run: npx semantic-release
|
||||
NPM_TOKEN: ${{ inputs.NPM_TOKEN }}
|
||||
uses: cycjimmy/semantic-release-action@v4
|
||||
id: semantic
|
||||
|
||||
outputs:
|
||||
new_release_published:
|
||||
description: "The output from the action"
|
||||
value: ${{ steps.semantic.outputs.new_release_published }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue