Skip to content

Commit

Permalink
fix: fix bin perms when release from ci (#462)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias authored Dec 4, 2023
1 parent 920f485 commit e7b2deb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,18 +109,23 @@ jobs:
- target: aarch64-unknown-linux-musl
os: linux
arch: arm64
bin: homestar
- target: x86_64-unknown-linux-musl
os: linux
arch: x64
bin: homestar
- target: aarch64-apple-darwin
os: darwin
arch: arm64
bin: homestar
- target: x86_64-apple-darwin
os: darwin
arch: x64
bin: homestar
- target: x86_64-pc-windows-msvc
os: windows
arch: x64
bin: homestar.exe
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down Expand Up @@ -157,6 +162,7 @@ jobs:
if: github.event_name == 'workflow_dispatch'
run: |
cd "homestar-runtime/npm/${{ env.node_pkg }}"
chmod +x bin/${{ matrix.bin }}
npm version $(cargo get package.version)-rc.$(date +%s) --git-tag-version false
npm publish --access public --tag rc
env:
Expand Down

0 comments on commit e7b2deb

Please sign in to comment.