Skip to content

Commit

Permalink
Switch to zip cmd.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTV12345 committed Apr 7, 2023
1 parent 2fac120 commit 5263f7f
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@ jobs:

- name: Build
run: cargo build --all --release && strip target/release/podgrabv2 && mv target/release/podgrabv2 target/release/podgrabv2_amd64
- uses: vimtor/action-zip@v1
with:
files: target/release/podgrabv2_amd64 db static migrations LICENSE README.md
dest: podfetch-linux.zip
- name: zip
run: zip -r podfetch-linux.zip target/release/podgrabv2_amd64 db static migrations LICENSE README.md
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -65,10 +63,8 @@ jobs:

- name: Build
run: cargo build --all --release
- uses: vimtor/action-zip@v1
with:
files: target/release/podgrabv2.exe db static migrations LICENSE README.md
dest: podfetch-win.zip
- name: Zip
run: zip -r podfetch-win.zip target/release/podgrabv2.exe db static migrations LICENSE README.md
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down Expand Up @@ -102,10 +98,8 @@ jobs:

- name: Build for mac
run: cargo build --all --release && strip target/release/podgrabv2 && mv target/release/podgrabv2 target/release/podgrabv2_darwin
- uses: vimtor/action-zip@v1
with:
files: target/release/podgrabv2_darwin db static migrations LICENSE README.md
dest: podfetch-apple.zip
- name: Zip
run: zip -r podfetch-apple.zip target/release/podgrabv2_darwin db static migrations LICENSE README.md
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit 5263f7f

Please sign in to comment.