Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zenoxs authored May 1, 2022
1 parent a9acdcb commit c782e6c
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c782e6c

Please # to comment.