Skip to content

Commit 24c4b27

Browse files
committed
fixup
1 parent e2b0581 commit 24c4b27

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ci/steps/publish-npm.sh

+2-5
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,9 @@ main() {
7575
# we set a default.
7676
# Source:https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
7777
BRANCH="${GITHUB_HEAD_REF-main}"
78-
echo "Calling download_artifact with npm env: $NPM_ENVIRONMENT and branch: $BRANCH"
79-
# download_artifact npm-package ./release-npm-package "$NPM_ENVIRONMENT" "$BRANCH"
80-
# NOTES@jsjoeio testing an approach where we run this script after downloading the artifact
81-
# in a job in the workflow file itself
82-
# unzip -q -o "tmp-npm-package-dir/npm-package.zip" -d "./release-npm-package"
8378

79+
# NOTE@jsjoeio - this script assumes we have the artifact downloaded on disk
80+
# That happens in CI as a step before we run this.
8481
# https://github.com/actions/upload-artifact/issues/38
8582
tar -xzf release-npm-package/package.tar.gz
8683

0 commit comments

Comments
 (0)