From 7959ba26641ab1d858c6c87469278634d878c334 Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Sat, 13 Feb 2021 14:50:46 +0330 Subject: [PATCH] [RELEASE CI] test new release --- .github/workflows/publish.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1292fec..62daf93 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -81,13 +81,23 @@ jobs: Release body draft: false prerelease: true - + + - name: Get the Ref + id: get-ref + uses: ankitvgupta/ref-to-tag-action@master + with: + ref: ${{ github.ref }} + head_ref: ${{ github.head_ref }} + + - name: Get the tag + run: echo "The tag was ${{ steps.get-ref.outputs.tag }}" + - name: Upload Release uses: AButler/upload-release-assets@v2.0 with: files: 'master/repo/*' repo-token: ${{ secrets.GITHUB_TOKEN }} - release-tag: ${{ github.ref }} + release-tag: ${{ steps.get-ref.outputs.tag }} # - name: Checkout repo branch # if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'