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