fix(action): Add inputs
This commit is contained in:
parent
959885b63c
commit
f7ba741940
11
action.yml
11
action.yml
@ -1,5 +1,12 @@
|
|||||||
name: "Semantic Release"
|
name: "Semantic Release"
|
||||||
description: "Automatically creates semantic releases"
|
description: "Automatically creates semantic releases"
|
||||||
|
inputs:
|
||||||
|
GITHUB_TOKEN:
|
||||||
|
description: "Github token"
|
||||||
|
required: true
|
||||||
|
GITEA_TOKEN:
|
||||||
|
description: "Gitea token"
|
||||||
|
required: true
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
@ -18,7 +25,7 @@ runs:
|
|||||||
run: npm audit signatures
|
run: npm audit signatures
|
||||||
- name: Release
|
- name: Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
||||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }}
|
||||||
run: npx semantic-release
|
run: npx semantic-release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user