From 85a04001e7d6770f7adf2c5c8a86ab1855cf9a8e Mon Sep 17 00:00:00 2001 From: Hugo Dias Date: Mon, 4 Dec 2023 19:43:55 +0000 Subject: [PATCH 1/2] chore: check whatup with perms --- .github/workflows/builds.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index e22ad4e9..8a793232 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -157,6 +157,7 @@ jobs: if: github.event_name == 'workflow_dispatch' run: | cd "homestar-runtime/npm/${{ env.node_pkg }}" + chmod +x bin/homestar npm version $(cargo get package.version)-rc.$(date +%s) --git-tag-version false npm publish --access public --tag rc env: From 9f2e48e8607a917e8e6013686afd40887952e8c3 Mon Sep 17 00:00:00 2001 From: Hugo Dias Date: Mon, 4 Dec 2023 20:54:10 +0000 Subject: [PATCH 2/2] chore: windows --- .github/workflows/builds.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 8a793232..f38be06c 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -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 @@ -157,7 +162,7 @@ jobs: if: github.event_name == 'workflow_dispatch' run: | cd "homestar-runtime/npm/${{ env.node_pkg }}" - chmod +x bin/homestar + 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: