Skip to content

Commit

Permalink
fix upload
Browse files Browse the repository at this point in the history
  • Loading branch information
jdogmcsteezy committed May 28, 2024
1 parent e075d98 commit 52c0298
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/mac-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,10 @@ jobs:
ls target
cd ${{ matrix.target-dir }}
./aql -e "info" 2>&1 | grep "Failed to connect"
- name: Set Upload Arch
uses: haya14busa/action-cond@v1
id: upload-arch
with:
cond: ${{ runner.arch == 'X64' }}
if_true: x86_64
if_false: aarch64
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ steps.system-info.outputs.platform }}-${{ runner.arch }}-${{ runner.os }}-${{ steps.system-info.outputs.release }}-aql
path: ${{ steps.working-dir.outputs.value }}/target/Darwin-${{ steps.upload-arch.outputs.value }}/bin/aql
path: ${{ steps.working-dir.outputs.value }}/${{ matrix.target-dir }}/aql
if-no-files-found: error

0 comments on commit 52c0298

Please sign in to comment.