This commit is contained in:
Neil 2023-05-27 09:29:36 +08:00 committed by GitHub
parent 485434ec0d
commit 4639472d56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,16 +144,11 @@ jobs:
aws cloudfront create-invalidation \ aws cloudfront create-invalidation \
--distribution-id ${{ secrets.AWS_CF_GUI_RELEASE_ID }} \ --distribution-id ${{ secrets.AWS_CF_GUI_RELEASE_ID }} \
--paths '/*' --paths '/*'
- name: Upload ARM64 DMG files to release - name: upload builds
uses: actions/github-release@v1 uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with: with:
args: upload-release-asset --owner ${{ github.repository_owner }} --repo ${{ github.repository }} --tag ${{ github.ref }} --name ${{ steps.app_files.outputs.dmg_arm64 }} --file dist/${{ steps.app_files.outputs.dmg_arm64 }} files: |
env: dist/${{ steps.app_files.outputs.dmg_arm64 }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} dist/${{ steps.app_files.outputs.dmg_x86 }}
- name: Upload X86 DMG files to release
uses: actions/github-release@v1
with:
args: upload-release-asset --owner ${{ github.repository_owner }} --repo ${{ github.repository }} --tag ${{ github.ref }} --name ${{ steps.app_files.outputs.dmg_x86 }} --file dist/${{ steps.app_files.outputs.dmg_x86 }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}