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