Skip to content

Commit 9ab5c33

Browse files
committed
CI: fix release action
1 parent 613b1d6 commit 9ab5c33

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -674,29 +674,29 @@ jobs:
674674
repository: ${{ github.repository }}
675675

676676
- name: download artifacts
677-
if: needs.linux-amd64.outputs.ffversion != steps.get_version_release.outputs.release
677+
if: needs.linux-hosts.outputs.ffversion != steps.get_version_release.outputs.release
678678
uses: actions/download-artifact@v5
679679

680680
- name: create release
681-
if: needs.linux-amd64.outputs.ffversion != steps.get_version_release.outputs.release
681+
if: needs.linux-hosts.outputs.ffversion != steps.get_version_release.outputs.release
682682
uses: ncipollo/release-action@v1
683683
with:
684-
tag: ${{ needs.linux-amd64.outputs.ffversion }}
684+
tag: ${{ needs.linux-hosts.outputs.ffversion }}
685685
commit: ${{ github.sha }}
686686
artifactErrorsFailBuild: true
687687
artifacts: fastfetch-*/fastfetch-*
688-
body: "Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/${{ needs.linux-amd64.outputs.ffversion }}/CHANGELOG.md) for details."
688+
body: "Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/${{ needs.linux-hosts.outputs.ffversion }}/CHANGELOG.md) for details."
689689

690690
- name: download source tarballs
691-
if: needs.linux-amd64.outputs.ffversion != steps.get_version_release.outputs.release
691+
if: needs.linux-hosts.outputs.ffversion != steps.get_version_release.outputs.release
692692
run: |
693-
for i in 1 2 3 4 5; do curl -L --remote-name-all --output-dir fastfetch-source --create-dirs https://github.com/${{ github.repository }}/archive/refs/tags/${{ needs.linux-amd64.outputs.ffversion }}.{tar.gz,zip} && break || sleep 5; done
693+
for i in 1 2 3 4 5; do curl -L --remote-name-all --output-dir fastfetch-source --create-dirs https://github.com/${{ github.repository }}/archive/refs/tags/${{ needs.linux-hosts.outputs.ffversion }}.{tar.gz,zip} && break || sleep 5; done
694694
ls fastfetch-*/*
695695
696696
- name: generate release notes
697-
if: needs.linux-amd64.outputs.ffversion != steps.get_version_release.outputs.release
697+
if: needs.linux-hosts.outputs.ffversion != steps.get_version_release.outputs.release
698698
run: |
699-
echo "Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/${{ needs.linux-amd64.outputs.ffversion }}/CHANGELOG.md) for details." > fastfetch-release-notes.md
699+
echo "Please refer to [CHANGELOG.md](https://github.com/${{ github.repository }}/blob/${{ needs.linux-hosts.outputs.ffversion }}/CHANGELOG.md) for details." > fastfetch-release-notes.md
700700
echo -e "\n---\n\n<details><summary>SHA256SUMs</summary><br>\n\n\`\`\`" >> fastfetch-release-notes.md
701701
sha256sum fastfetch-*/* >> fastfetch-release-notes.md
702702
echo -e "\`\`\`\n</details>" >> fastfetch-release-notes.md
@@ -705,10 +705,10 @@ jobs:
705705
echo -e "\`\`\`\n</details>" >> fastfetch-release-notes.md
706706
707707
- name: update release body
708-
if: needs.linux-amd64.outputs.ffversion != steps.get_version_release.outputs.release
708+
if: needs.linux-hosts.outputs.ffversion != steps.get_version_release.outputs.release
709709
uses: ncipollo/release-action@v1
710710
with:
711-
tag: ${{ needs.linux-amd64.outputs.ffversion }}
711+
tag: ${{ needs.linux-hosts.outputs.ffversion }}
712712
commit: ${{ github.sha }}
713713
bodyFile: fastfetch-release-notes.md
714714
allowUpdates: true

0 commit comments

Comments
 (0)