diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 498bde8..7782c64 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,13 +5,22 @@ on: tags: - 'v*' +permissions: + contents: write + jobs: release: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest, ubuntu-latest, macos-latest] + include: + - os: windows-latest + platform: win32 + - os: ubuntu-latest + platform: linux + - os: macos-latest + platform: darwin steps: - name: Checkout code @@ -51,15 +60,18 @@ jobs: env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: List build files (debug) + shell: bash + run: | + echo "Listing release directory:" + ls -la release/ || echo "No release directory found" + find . -name "*.exe" -o -name "*.dmg" -o -name "*.AppImage" -o -name "*.deb" -o -name "*.rpm" || echo "No build files found" + - name: Upload Release Assets uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: files: | - release/*.exe - release/*.dmg - release/*.AppImage - release/*.deb - release/*.rpm + release/* env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file