Skip to content

Commit

Permalink
dev: fix: name of relwithdebinfo profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin committed Aug 27, 2024
1 parent 5d41bf4 commit 1d570da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: shiroa-${{ env.target }}-relwithdebuginfo
name: shiroa-${{ env.target }}-relwithdebinfo
path: target/${{ matrix.rust-target }}/relwithdebinfo/shiroa*
if-no-files-found: error

Expand Down Expand Up @@ -179,7 +179,7 @@ jobs:
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
name: shiroa-${{ env.target }}-relwithdebuginfo
name: shiroa-${{ env.target }}-relwithdebinfo
path: target/${{ matrix.rust-target }}/relwithdebinfo/shiroa*
if-no-files-found: error

Expand Down Expand Up @@ -221,11 +221,11 @@ jobs:
- name: build binaries
run: |
cargo build --release --manifest-path cli/Cargo.toml --target $RUST_TARGET --bin shiroa
cargo build --profile relwithdebuginfo --manifest-path cli/Cargo.toml --target $RUST_TARGET --bin shiroa
cargo build --profile relwithdebinfo --manifest-path cli/Cargo.toml --target $RUST_TARGET --bin shiroa
- uses: actions/upload-artifact@v3
with:
name: shiroa-${{ env.target }}-relwithdebuginfo
path: target/${{ env.RUST_TARGET }}/relwithdebuginfo/shiroa*
name: shiroa-${{ env.target }}-relwithdebinfo
path: target/${{ env.RUST_TARGET }}/relwithdebinfo/shiroa*
if-no-files-found: error
- uses: actions/upload-artifact@v3
with:
Expand Down Expand Up @@ -271,15 +271,15 @@ jobs:
tar czvf gh-release/$name.tar.gz -C release $name
mkdir -p relwithdebinfo/$name/bin
cp artifacts/$src-relwithdebuginfo/shiroa* "relwithdebinfo/$name/bin/"
cp artifacts/$src-relwithdebinfo/shiroa* "relwithdebinfo/$name/bin/"
cp -r CHANGELOG relwithdebinfo/$name/
cp -r github-pages/docs relwithdebinfo/$name/
cp README.md \
LICENSE \
CHANGELOG.md \
relwithdebinfo/$name/
chmod +x relwithdebinfo/$name/bin/shiroa*
tar czvf gh-release/$name-relwithdebuginfo.tar.gz -C relwithdebinfo $name
tar czvf gh-release/$name-relwithdebinfo.tar.gz -C relwithdebinfo $name
}
pack_release win32-x64 x86_64-pc-windows-msvc
pack_release win32-ia32 i686-pc-windows-msvc
Expand Down

0 comments on commit 1d570da

Please sign in to comment.