Skip to content

Commit

Permalink
fix upload artifact path
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc committed Oct 13, 2023
1 parent b799fb8 commit 4a2151e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ jobs:
cd "$RESOURCE_DIR" || exit 1
ls -l "$RESOURCE_DIR"
echo "MAA_CORE_DIR=$MAA_CORE_DIR" >> $GITHUB_ENV
- name: Setup PATH
if: matrix.os == 'windows-latest'
shell:
pwsh
run: |
"$env:MAA_CORE_DIR" | Out-File -FilePath $env:GITHUB_PATH -Append
# - name: Setup PATH
# if: matrix.os == 'windows-latest'
# shell:
# pwsh
# run: |
# "$env:MAA_CORE_DIR" | Out-File -FilePath $env:GITHUB_PATH -Append
- name: Try run with MaaCore
if: matrix.arch == 'x86_64'
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: maa_cli-${{ env.CARGO_BUILD_TARGET }}
path: target/$CARGO_BUILD_TARGET/release/*.tar
path: target/${{ env.CARGO_BUILD_TARGET }}/release/*.tar
retention-days: 1

build-universal:
Expand Down

0 comments on commit 4a2151e

Please sign in to comment.