Skip to content

Commit

Permalink
fix: the build error for macos.
Browse files Browse the repository at this point in the history
  • Loading branch information
Joinhack committed Apr 19, 2024
1 parent 557980c commit 01292bc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wasi-v86-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- name: Remove File
uses: JesseTG/[email protected]
with:
path: ttarget/${{ matrix.target }}/release/build
path: target/${{ matrix.target }}/release/build
- name: Remove File
uses: JesseTG/[email protected]
with:
Expand All @@ -90,7 +90,7 @@ jobs:
uses: thedoctor0/zip-release@main
with:
type: "tar"
filename: ${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
filename: ../../../v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
directory: target/${{ matrix.target }}/release
path: .
- name: upload artifact
Expand All @@ -99,4 +99,4 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
files: |
${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
6 changes: 3 additions & 3 deletions .github/workflows/wasi-v86-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
- name: Remove File
uses: JesseTG/[email protected]
with:
path: ttarget/${{ matrix.target }}/release/build
path: target/${{ matrix.target }}/release/build
- name: Remove File
uses: JesseTG/[email protected]
with:
Expand All @@ -70,7 +70,7 @@ jobs:
uses: thedoctor0/zip-release@main
with:
type: "tar"
filename: ${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
filename: ../../../v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
directory: target/${{ matrix.target }}/release
path: .
- name: upload artifact
Expand All @@ -79,4 +79,4 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
files: |
${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
10 changes: 5 additions & 5 deletions .github/workflows/wasi-v86-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Remove File
uses: JesseTG/[email protected]
with:
path: ttarget/${{ matrix.target }}/release/build
path: target/${{ matrix.target }}/release/build
- name: Remove File
uses: JesseTG/[email protected]
with:
Expand All @@ -61,13 +61,13 @@ jobs:
- name: move Archive
run: |
echo "test"
cp -r term target/release
cp -r arch target/release
cp -r term/ target/release
cp -r arch/ target/release
- name: Archive Release
uses: thedoctor0/zip-release@main
with:
type: "tar"
filename: ${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
filename: ../../../v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
directory: target/${{ matrix.target }}/release
path: .
- name: upload artifact
Expand All @@ -76,4 +76,4 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
with:
files: |
${{github.workspace}}/v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz
v86-wasi.${{ matrix.os }}.${{ matrix.arch }}.tar.gz

0 comments on commit 01292bc

Please sign in to comment.