0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

Release notes

This commit is contained in:
Andrey Onishchenko
2024-02-09 17:35:17 +03:00
parent a28db76a6b
commit 1f0975300f
8 changed files with 72 additions and 6 deletions

View File

@@ -55,11 +55,11 @@ jobs:
commit_long_sha: ${{ steps.commit.outputs.commit_long_sha }}
build:
if: ${{ (github.event_name == 'push') || (github.event_name == 'workflow_dispatch') || (needs.update_packages.new_version) }}
if: ${{ (github.event_name == 'push') || (github.event_name == 'workflow_dispatch') || (needs.update_packages.outputs.new_version) }}
needs: update_packages
uses: ./.github/workflows/build.yml
with:
ref: ${{ (needs.update_packages.commit_long_sha || '') }}
ref: ${{ (needs.update_packages.outputs.commit_long_sha || '') }}
upload-release:
needs: build
@@ -68,7 +68,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ (needs.build.needs.update_packages.commit_long_sha || '') }}
ref: ${{ (needs.build.needs.update_packages.outputs.commit_long_sha || '') }}
- name: Download artifact
uses: actions/download-artifact@v4
@@ -81,6 +81,11 @@ jobs:
sudo apt-get update
sudo apt-get install jq
sh ./.github/workflows/retrieve_version.sh
- name: Get Release HTML
run: echo "release_html=$(jq -r '."desktop-release-notes.$VERSION"' ./dist/release_notes.json)" >> $GITHUB_ENV
- run: rm -rf dist/release_notes.json
- name: Tag Repo
uses: richardsimko/update-tag@v1
@@ -98,4 +103,5 @@ jobs:
name: ${{ env.release_name }}
replacesArtifacts: true
tag: ${{ env.tag_name }}
body: ${{ env.release_html }}