Skip to content

Commit

Permalink
🐛 fix github release
Browse files Browse the repository at this point in the history
  • Loading branch information
Roms1383 committed Jan 1, 2024
1 parent 4b5638f commit 8fa3780
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,25 @@ jobs:
runs-on: windows-latest
needs: [bundle-mod, bundle-translations]
steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: Addicted-mod-windows-${{ github.ref_name }}
path: release
- name: Download English translations
uses: actions/download-artifact@v4
with:
name: Addicted-translation-en-us-${{ github.ref_name }}
path: release
- name: Download French translations
uses: actions/download-artifact@v4
with:
name: Addicted-translation-fr-fr-${{ github.ref_name }}
path: release
- name: Create release ${{ github.ref_name }}
uses: ncipollo/release-action@v1
with:
artifacts: "Addicted-mod-*-${{ github.ref_name }},Addicted-translation-*-${{ github.ref_name }}"
artifacts: "release/*.zip"
draft: ${{ env.IS_DRAFT }}
token: ${{ secrets.GITHUB_TOKEN }}
artifactErrorsFailBuild: true

0 comments on commit 8fa3780

Please sign in to comment.