Skip to content

Commit

Permalink
Update Build and Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yodaluca23 authored Jul 3, 2024
1 parent 60fbcdb commit 1b275fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/Build and Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,9 @@ jobs:
- name: Construct ChangeLog Pt.2 (Add EeveeSpotify Workflow Link)
if: ${{ github.event.inputs.USEACTIONSEEVEE == 'true' }}
run: |
echo "The EeveeSpotify .deb was taken from the [latest Build workflow](${{ env.eeveeAssetLink }})." >> changelog.txt
RUN_ID=$(curl -s https://api.github.com/repos/whoeevee/EeveeSpotify/actions/artifacts/1661889895 | jq -r .workflow_run.id)
eeveeUserAssetLink=$(echo "https://api.github.com/repos/whoeevee/EeveeSpotify/actions/artifacts/1661889895/zip" | sed -E "s|https://api.github.com/repos/([^/]+)/([^/]+)/actions/artifacts/([0-9]+)/zip|https://github.com/\1/\2/actions/runs/${RUN_ID}/artifacts/\3|")
echo "The EeveeSpotify .deb was taken from the [latest Build workflow](${eeveeUserAssetLink})." >> changelog.txt
- name: Construct ChangeLog Pt.3 (Add App Details and Workflow Link)
run: |
Expand Down

0 comments on commit 1b275fd

Please sign in to comment.