Compare commits
No commits in common. "v1.1.0" and "v1.0.0" have entirely different histories.
2 changed files with 4 additions and 14 deletions
|
@ -1,8 +1,6 @@
|
||||||
name: Release
|
name: Release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||||
|
|
16
action.yml
16
action.yml
|
@ -7,10 +7,6 @@ inputs:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
description: "Gitea token"
|
description: "Gitea token"
|
||||||
required: true
|
required: true
|
||||||
NPM_TOKEN:
|
|
||||||
description: "NPM Publish token"
|
|
||||||
required: false
|
|
||||||
default: ""
|
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
|
@ -24,16 +20,12 @@ runs:
|
||||||
with:
|
with:
|
||||||
node-version: "lts/*"
|
node-version: "lts/*"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
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
|
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
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
||||||
GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }}
|
||||||
NPM_TOKEN: ${{ inputs.NPM_TOKEN }}
|
run: npx semantic-release
|
||||||
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