From 915313646c5657a17cfe9a1ac0c15325ce888cef Mon Sep 17 00:00:00 2001 From: Matthias Grandl Date: Tue, 12 Mar 2024 17:43:05 +0100 Subject: [PATCH] hopefully fix release job --- .github/workflows/release-macos.yml | 26 ++++---------------------- 1 file changed, 4 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.yml index bdb83e8..fe4dbf7 100644 --- a/.github/workflows/release-macos.yml +++ b/.github/workflows/release-macos.yml @@ -31,26 +31,8 @@ jobs: APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }} APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.AUTH_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} - body: | - TODO: Populate release notes - draft: false - prerelease: false - - - name: Upload dmg - id: upload-dmg - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.AUTH_TOKEN }} + - name: Release + uses: softprops/action-gh-release@v2 with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./target/release/Loungy.dmg - asset_name: Loungy.dmg - asset_content_type: application/x-apple-diskimage + files: | + target/release/*.dmg