Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/NesTiler.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-10-30 12:29:56 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2022-10-30 12:31:10 +0300
commit7941c7e6d89ec4eb1025cd2ba2fd97e146a8c859 (patch)
treeec6d83d776dac8253635e08a3f613f2e40322dd1
parent5b8c6a52c2499e1efd91bc4dad99f8857a42ca35 (diff)
Pipeline
-rw-r--r--.github/workflows/release.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a688b13..0cfb40f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -12,7 +12,7 @@ jobs:
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- tag_name: ${{ github.ref }}
+ tag_name: ${{ github.head_ref || github.ref_name }}
commit: master
name: Release ${{ github.head_ref || github.ref_name }}
draft: true
@@ -72,12 +72,11 @@ jobs:
- name: Get Release File Name & Upload URL
id: get_release_info
env:
- TAG_REF_NAME: ${{ github.ref }}
+ TAG_REF_NAME: ${{ github.head_ref || github.ref_name }}
REPOSITORY_NAME: ${{ github.repository }}
run: |
- echo file_name=${REPOSITORY_NAME##*/}-${TAG_REF_NAME##*/v} >> $GITHUB_OUTPUT
value=`cat release_url/release_url.txt`
- echo name=upload_url=$value >> $GITHUB_OUTPUT
+ echo upload_url=$value >> $GITHUB_OUTPUT
- name: Upload
uses: actions/upload-release-asset@v1
env: