Skip to content

Commit

Permalink
fix(gha): Can't use env in workflow calls
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronclong committed Feb 19, 2024
1 parent e7f196b commit 56f7cb4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,17 +49,17 @@ jobs:
echo "$frag" >> CHANGE_LOG_FRAG.md
- name: Archive CHANGE_LOG_FRAG
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: change-log-frag
path: "CHANGE_LOG_FRAG.md"

build_library:
needs: gen_change_log
uses: ./.github/workflows/build-library.yml
with:
node_version: ${{ env.NODE_VERSION }}
artifact_path: ${{ env.ARTIFACT_PATH }}
# with:
# node_version: ${{ env.NODE_VERSION }}
# artifact_path: ${{ env.ARTIFACT_PATH }}

create_release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -93,4 +93,4 @@ jobs:
version=$(echo "${{github.ref}}" | sed 's/refs\/tags\/v//g')
echo "This the version ${version}"
npm set //registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}
npm publish artifacts/library-build-dist/aaronclong-barcode-detection-polyfill-${version}.tgz --access public
npm publish artifacts/library-build-dist/prompt-manners-${version}.tgz --access public

0 comments on commit 56f7cb4

Please sign in to comment.