File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ jobs:
117117 echo "RELEASE_VERSION=$VERSION" >> $GITHUB_ENV
118118 echo "PACKAGE_VERSION=$STRIPPED_VERSION" >> $GITHUB_ENV
119119
120- jq --arg version "0.0.1 " '.version = $version' package.json > tmp.$$.json && mv tmp.$$.json package.json
120+ jq --arg version "0.0.2 " '.version = $version' package.json > tmp.$$.json && mv tmp.$$.json package.json
121121
122122 - name : Configure npm for GCP Artifact Registry
123123 run : |
@@ -127,5 +127,13 @@ jobs:
127127 - name : Refresh the access token for connecting to the repository
128128 run : npm run artifactregistry-login
129129
130- - name : Publish JS package to Artifact Registry
130+ - name : Move build output to publish root
131+ run : |
132+ mkdir -p npm_publish
133+ cp -r gen/typescript/* npm_publish/
134+ cp package.json npm_publish/
135+ cp README.md npm_publish/ || true
136+
137+ - name : Publish JS package
138+ working-directory : npm_publish
131139 run : npm publish
You can’t perform that action at this time.
0 commit comments