Skip to content

Commit

Permalink
fix attach windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
shadyalfred committed Jan 20, 2023
1 parent 701376a commit c0d816b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-actions-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: --target x86_64-pc-windows-msvc
args: --release --target x86_64-pc-windows-msvc

- name: Compress
run: cd ./target/x86_64-pc-windows-msvc/debug/ && tar -czf x86_64-pc-windows-msvc.tar.gz metro_ticket.exe && cd ../../.. && cp ./target/x86_64-pc-windows-msvc/debug/x86_64-pc-windows-msvc.tar.gz .
run: cd ./target/x86_64-pc-windows-msvc/release/ && tar -czf x86_64-pc-windows-msvc.tar.gz metro_ticket.exe && cd ../../.. && cp ./target/x86_64-pc-windows-msvc/release/x86_64-pc-windows-msvc.tar.gz .

- name: Release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit c0d816b

Please sign in to comment.