ci: add description and cp dmg

This commit is contained in:
wibus-wee
2024-08-17 16:57:06 +08:00
parent 17a25e4783
commit b116fd5084
2 changed files with 11 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ permissions:
jobs:
build-mac:
name: Build for macOS (Universal)
runs-on: macos-13
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v4
@@ -54,7 +54,7 @@ jobs:
shell: bash
run: |
hdiutil create -volname "InjectGUI" -srcfolder "build/Build/Products/${{ env.APP_CONF }}/InjectGUI.app" -ov -format UDZO "InjectGUI.dmg"
cp "InjectGUI.dmg" "$RUNNER_TEMP/InjectGUI.dmg"
- name: Upload DMG Artifact
uses: actions/upload-artifact@v4
with:

View File

@@ -22,7 +22,7 @@ jobs:
git add .
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git commit -m "bump build number to $APP_BUILD"
git commit -m "chore: bump build number to $APP_BUILD"
- name: Push Changes
uses: ad-m/github-push-action@v0.6.0
with:
@@ -38,4 +38,11 @@ jobs:
delete-branch: true
base: main
title: "chore: bump Build Number to ${{ env.APP_BUILD }}"
body: Automatically bump build number of all targets to ${{ env.APP_BUILD }}
body: |
Automatically bump build number of all targets to ${{ env.APP_BUILD }}
cc @wibus-wee
---
<sup>This pull request was automatically created by a GitHub Action.</sup>