0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-23 22:22:59 +03:00

Update update-build-release.yml

This commit is contained in:
Andrey Onishchenko 2024-05-07 07:33:07 +03:00 committed by GitHub
parent 9022ad769c
commit 57ec0a8fff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,6 +49,14 @@ jobs:
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
echo "release_name=$release_name" >> $GITHUB_OUTPUT echo "release_name=$release_name" >> $GITHUB_OUTPUT
echo "tag_name=$tag_name" >> $GITHUB_OUTPUT echo "tag_name=$tag_name" >> $GITHUB_OUTPUT
- name: Tag Repo
uses: rickstaa/action-create-tag@v1
if: ${{ steps.commit.outputs.commited || github.event.head_commit }}
with:
tag: ${{ steps.version.outputs.tag_name }}"
force_push_tag: true
commit_sha: ${{ steps.commit.outputs.commit_long_sha || github.event.head_commit.id}}
- name: Outputs - name: Outputs
id: outputs id: outputs
@ -118,14 +126,7 @@ jobs:
run: echo "release_html=$(jq -r --arg version "${{ needs.update_packages.outputs.version }}" '.["desktop-release-notes." + $version]' ./dist/release_notes.json)" >> $GITHUB_OUTPUT run: echo "release_html=$(jq -r --arg version "${{ needs.update_packages.outputs.version }}" '.["desktop-release-notes." + $version]' ./dist/release_notes.json)" >> $GITHUB_OUTPUT
- run: rm -rf dist/release_notes.json - run: rm -rf dist/release_notes.json
- name: Tag Repo
uses: rickstaa/action-create-tag@v1
with:
tag: ${{ needs.update_packages.outputs.tag_name}}
force_push_tag: true
commit_sha: ${{ needs.update_packages.outputs.commit_long_sha }}
- name: Upload files to a GitHub release - name: Upload files to a GitHub release
uses: ncipollo/release-action@v1.13.0 uses: ncipollo/release-action@v1.13.0
with: with: