Skip to content

Commit

Permalink
Try to fix bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
tnunamak committed Apr 2, 2024
1 parent 0eaf30e commit 89f3487
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/actions/build-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:

- name: Determine target filename
run: |
echo "TARGET_NAME=Selfie-${{ runner.os }}-$(uname -m).zip" >> $GITHUB_ENV
echo "TARGET_NAME=Selfie-${{ runner.os }}-$(uname -m)" >> $GITHUB_ENV
shell: bash

- name: Install the Apple certificate and provisioning profile
Expand Down Expand Up @@ -170,10 +170,21 @@ runs:

- name: Upload Artifact
uses: actions/upload-artifact@v4
if: inputs.release_tag == ''
if: inputs.release_tag == '' && runner.os != 'macOS'
with:
name: ${{ env.TARGET_NAME }}
path: ${{ env.TARGET_NAME }}.zip
path: ${{ github.workspace }}/dist/selfie
overwrite: true
if-no-files-found: error

- name: Upload Artifact
uses: actions/upload-artifact@v4
if: inputs.release_tag == '' && runner.os == 'macOS'
with:
name: ${{ env.TARGET_NAME }}
path: |
${{ github.workspace }}/dist
!${{ github.workspace }}/dist/selfie/**
overwrite: true
if-no-files-found: error

Expand Down

0 comments on commit 89f3487

Please sign in to comment.