From c782e6cd034d6ac8d64072028ba8b1a676e370f4 Mon Sep 17 00:00:00 2001 From: zenoxs Date: Sun, 1 May 2022 09:05:35 +0200 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 833997a..0911ff2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -83,7 +83,25 @@ jobs: uses: actions/download-artifact@v3 with: name: ac_companion.dmg - - name: Debug - shell: bash - run: | - echo | ls + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ steps.versions.outputs.version }} + release_name: Release ${{ steps.versions.outputs.version }} + body: | + Release Notes + draft: false + prerelease: false + - name: Upload Release Asset .dmg + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: "${{env.MACOS_APP_RELEASE_PATH}}/AC Companion.dmg" + asset_name: "AC Companion.dmg" + asset_content_type: application/octet-stream