t2
This commit is contained in:
1 parent
a3ee13e8e3
commit
c40e441f33
1 file changed
+9
-3
@@ -6,13 +6,13 @@ on:
|
||||
type: string
|
||||
description: "Version Number"
|
||||
jobs:
|
||||
publish:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
name: Publish Github Release
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Publish Release {{ github.event.inputs.version }}
|
||||
- name: "{{ github.event.inputs.version }}"
|
||||
uses: actions/github-script@v6
|
||||
env:
|
||||
VERSION: "{{ github.event.inputs.version }}"
|
||||
@@ -24,7 +24,13 @@ jobs:
|
||||
repo: context.repo.repo,
|
||||
tag_name: process.env.VERSION,
|
||||
});
|
||||
- name: Publish PreRelease {{ github.event.inputs.version }}
|
||||
pre:
|
||||
runs-on: ubuntu-latest
|
||||
name: Publish Github PreRelease
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: "{{ github.event.inputs.version }}"
|
||||
uses: actions/github-script@v6
|
||||
env:
|
||||
VERSION: pre-{{ github.event.inputs.version }}
|
||||
|
||||
Reference in new issue
Block a user