Skip to content

Commit

Permalink
更新 MacOS 下 CD 发布的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
nekosilverfox committed Oct 22, 2023
1 parent bea71f6 commit 5249d41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ jobs:
echo '-------------------'
cd ./Tester
echo '-------------------'
ls
qmake CONFIG+=debug
make
ls
Expand All @@ -62,6 +61,7 @@ jobs:
run: |
ls
cd ./${QtApplicationName}
# mv ./${QtApplicationName}/${QtApplicationName}.app .
echo '------------------'
ls
# 拷贝依赖 pro文件里的名称:
Expand All @@ -70,14 +70,14 @@ jobs:
- uses: actions/upload-artifact@v2
with:
name: ${{ env.targetName }}_${{ matrix.os }}_${{matrix.qt_ver}}.zip
path: ${QtApplicationName}.app
path: ${{ env.QtApplicationName }}/${{ env.QtApplicationName }}.app
# tag 上传Release
- name: uploadRelease
if: startsWith(github.event.ref, 'refs/tags/')
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${QtApplicationName}.dmg
file: ${{ env.QtApplicationName }}/${{ env.QtApplicationName }}.dmg
asset_name: ${{ env.targetName }}_${{ matrix.os }}_${{ matrix.qt_ver }}.dmg
tag: ${{ github.ref }}
overwrite: true

0 comments on commit 5249d41

Please sign in to comment.