diff --git a/.github/workflows/Build and Release.yml b/.github/workflows/Build and Release.yml index 5faa7da..8c832f7 100644 --- a/.github/workflows/Build and Release.yml +++ b/.github/workflows/Build and Release.yml @@ -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: |