Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KornineQ authored Oct 2, 2024
1 parent 27cefd6 commit a42b11d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ jobs:
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
ls out/make
if [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
gh release create $TAG_NAME out/make/**/*.AppImage out/make/**/*.zip --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions."
gh release create $TAG_NAME out/make/*.AppImage out/make/*.zip --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions."
elif [[ "${{ matrix.os }}" == "windows-latest" ]]; then
gh release create $TAG_NAME out/make/**/*.exe --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions."
gh release create $TAG_NAME out/make/*.exe --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions."
elif [[ "${{ matrix.os }}" == "macos-latest" ]]; then
gh release create $TAG_NAME out/make/**/*.dmg --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions."
gh release create $TAG_NAME out/make/*.dmg --title "Release $TAG_NAME" --notes "Automated release created by GitHub Actions."
fi
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Ensure you have this secret set up
Expand All @@ -96,4 +96,4 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: NCPPatcher-Release-${{ env.TAG_NAME }}
path: out/make/**/*
path: out/make/*

0 comments on commit a42b11d

Please sign in to comment.