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"
|
||||
description: "Automatically creates semantic releases"
|
||||
inputs:
|
||||
GITHUB_TOKEN:
|
||||
description: "Github token"
|
||||
required: true
|
||||
GITEA_TOKEN:
|
||||
description: "Gitea token"
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
@ -18,7 +25,7 @@ runs:
|
||||
run: npm audit signatures
|
||||
- name: Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
|
||||
GITEA_TOKEN: ${{ inputs.GITEA_TOKEN }}
|
||||
run: npx semantic-release
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user