File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,14 +83,18 @@ jobs:
8383 if : env.TAG_EXISTS == 'false'
8484 working-directory : ./packages/cli
8585 run : |
86- npx pkg --config ./package.json --target=${{ matrix.node-version }} --output ./standalone-binaries/${{ matrix.os }}-${{ matrix.arch }}/polywrap --compress Brotli ./bin/polywrap
86+ npx pkg --config ./package.json --target=${{ matrix.node-version }}-${{ matrix.os }}-${{ matrix.arch }} --output ./standalone-binaries/${{ matrix.os }}-${{ matrix.arch }}/polywrap --compress Brotli ./bin/polywrap
87+
88+ - name : Extract binary path
89+ if : env.TAG_EXISTS == 'false'
90+ run : echo STANDALONE_BINARY_PATH=$(stat ./packages/cli/standalone-binaries/${{ matrix.ox }}-${{ matrix.arch }}/polywrap* | awk '/File:/ {print $2}') >> $GITHUB_ENV
8791
8892 - name : Upload Artifacts
8993 if : env.TAG_EXISTS == 'false'
9094 uses : actions/upload-artifact@v3
9195 with :
9296 name : cli-binary-${{ matrix.os }}-${{ matrix.arch }}
93- path : ${{ steps.pkg-action.outputs.file }}
97+ path : ${{ env.STANDALONE_BINARY_PATH }}
9498
9599 Publish-GitHub :
96100 name : Publish source to github.com
You can’t perform that action at this time.
0 commit comments