Skip to content

Commit

Permalink
disable windows artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
salamaashoush committed May 27, 2024
1 parent b749980 commit b69905c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-flowers-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"pactup": patch
---

npm publish
12 changes: 6 additions & 6 deletions .github/workflows/release_pactup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,12 @@ jobs:
run: cross build --release --target=${{ matrix.target }}

# The binaries are zipped to fix permission loss https://github.com/actions/upload-artifact#permission-loss
- name: Archive Binaries
if: runner.os == 'Windows'
run: |
PACTUP_BIN_NAME=pactup-${{ matrix.code-target }}
mv target/${{ matrix.target }}/release/pactup.exe $PACTUP_BIN_NAME.exe
7z a $PACTUP_BIN_NAME.zip $PACTUP_BIN_NAME.exe
# - name: Archive Binaries
# if: runner.os == 'Windows'
# run: |
# PACTUP_BIN_NAME=pactup-${{ matrix.code-target }}
# mv target/${{ matrix.target }}/release/pactup.exe $PACTUP_BIN_NAME.exe
# 7z a $PACTUP_BIN_NAME.zip $PACTUP_BIN_NAME.exe

# The binaries are zipped to fix permission loss https://github.com/actions/upload-artifact#permission-loss
- name: Archive Binaries
Expand Down

0 comments on commit b69905c

Please sign in to comment.