From c40e441f3334dbea0bd1c817857ab562cec33a91 Mon Sep 17 00:00:00 2001 From: Ari Date: Thu, 21 Jul 2022 09:53:27 -0400 Subject: [PATCH] t2 --- .github/workflows/test-git-pr-pub.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-git-pr-pub.yml b/.github/workflows/test-git-pr-pub.yml index f1f4409..fd72a66 100644 --- a/.github/workflows/test-git-pr-pub.yml +++ b/.github/workflows/test-git-pr-pub.yml @@ -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 }}