Skip to content

Commit

Permalink
fix macos and windows build archives
Browse files Browse the repository at this point in the history
  • Loading branch information
t-mart committed Feb 27, 2024
1 parent 93f75d8 commit eb97f6a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/release+build+publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,14 +163,18 @@ jobs:
if: runner.os == 'Windows'
shell: bash
run: |
# move file first so we don't get directory structure in the zip
mv "${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}" .
7z a -mx9 "${{ steps.make_paths.outputs.archive_path}}" \
"${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}"
"${{ steps.make_paths.outputs.binary_filename }}"
- name: Archive (macOS)
if: runner.os == 'macOS'
run: |
zip -r -9 "${{ steps.make_paths.outputs.archive_path}}" \
"${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}"
# move file first so we don't get directory structure in the zip
mv "${{ steps.make_paths.outputs.binary_dir }}/${{ steps.make_paths.outputs.binary_filename }}" .
zip -9 "${{ steps.make_paths.outputs.archive_path}}" \
"${{ steps.make_paths.outputs.binary_filename }}"
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nextver"
version = "0.7.2"
version = "0.7.3"
authors = ["Tim Martin <tim@tim.direct>"]
readme = "README.md"
repository = "https://github.com/t-mart/nextver"
Expand Down

0 comments on commit eb97f6a

Please sign in to comment.