Skip to content

Commit

Permalink
fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rniii committed Aug 10, 2024
1 parent 873f706 commit 445197e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,17 @@ jobs:
- name: Publish
if: runner.os == 'Linux'
run: |
pkg=maid-$("$binpath" version -q)
"$binpath" package
pkg=maid-$("$binpath" -q version)
dstdir=$pkg "$binpath" install
tar --remove-files -cf "$pkg.tar.gz" "$pkg"
gh release upload "$GITHUB_REF_NAME" "$pkg.tar.gz"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish
if: runner.os == 'Windows'
run: |
exe=maid-$("$binpath" version -q).exe
exe=maid-$("$binpath" -q version).exe
cp "$binpath" "$exe"
gh release upload "$GITHUB_REF_NAME" "$exe"
env:
Expand Down

0 comments on commit 445197e

Please sign in to comment.