parent
f5ac262a2f
commit
e4ddffd0e2
|
@ -12,7 +12,7 @@ Please ensure you cannot reproduce on VS Code before filing.
|
||||||
Please fill in the issue template or we will close your issue!
|
Please fill in the issue template or we will close your issue!
|
||||||
-->
|
-->
|
||||||
|
|
||||||
- Web Browser:
|
- Web Browser:
|
||||||
- Local OS:
|
- Local OS:
|
||||||
- Remote OS:
|
- Remote OS:
|
||||||
- `code-server --version`:
|
- `code-server --version`:
|
||||||
|
|
|
@ -42,7 +42,7 @@ jobs:
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: npm-package
|
name: npm-package
|
||||||
path: ./release
|
path: ./release-npm-package
|
||||||
|
|
||||||
linux-amd64:
|
linux-amd64:
|
||||||
needs: release
|
needs: release
|
||||||
|
@ -53,7 +53,7 @@ jobs:
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: npm-package
|
name: npm-package
|
||||||
path: ./release
|
path: ./release-npm-package
|
||||||
- name: Run ./ci/steps/release-static.sh
|
- name: Run ./ci/steps/release-static.sh
|
||||||
uses: ./ci/container
|
uses: ./ci/container
|
||||||
with:
|
with:
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: npm-package
|
name: npm-package
|
||||||
path: ./release
|
path: ./release-npm-package
|
||||||
- name: Run ./ci/steps/release-static.sh
|
- name: Run ./ci/steps/release-static.sh
|
||||||
uses: ./ci/container/arm64
|
uses: ./ci/container/arm64
|
||||||
with:
|
with:
|
||||||
|
@ -93,7 +93,7 @@ jobs:
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: npm-package
|
name: npm-package
|
||||||
path: ./release
|
path: ./release-npm-package
|
||||||
- run: brew unlink node@12
|
- run: brew unlink node@12
|
||||||
- run: brew install node
|
- run: brew install node
|
||||||
- run: ./ci/steps/release-static.sh
|
- run: ./ci/steps/release-static.sh
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
dist*
|
dist*
|
||||||
out*
|
out*
|
||||||
release/
|
release/
|
||||||
|
release-npm-package/
|
||||||
release-static/
|
release-static/
|
||||||
release-packages/
|
release-packages/
|
||||||
release-gcp/
|
release-gcp/
|
||||||
|
|
|
@ -9,9 +9,9 @@ main() {
|
||||||
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
||||||
fi
|
fi
|
||||||
|
|
||||||
download_artifact npm-package ./release
|
download_artifact npm-package ./release-npm-package
|
||||||
# https://github.com/actions/upload-artifact/issues/38
|
# https://github.com/actions/upload-artifact/issues/38
|
||||||
chmod +x $(grep -rl '^#!/.*' release)
|
tar -xzf release-npm-package/package.tar.gz
|
||||||
yarn publish --non-interactive release
|
yarn publish --non-interactive release
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@ main() {
|
||||||
cd "$(dirname "$0")/../.."
|
cd "$(dirname "$0")/../.."
|
||||||
|
|
||||||
# https://github.com/actions/upload-artifact/issues/38
|
# https://github.com/actions/upload-artifact/issues/38
|
||||||
chmod +x $(grep -rl '^#!/.*' release)
|
tar -xzf release-npm-package/package.tar.gz
|
||||||
|
|
||||||
yarn release:static
|
yarn release:static
|
||||||
yarn test:static-release
|
yarn test:static-release
|
||||||
|
|
|
@ -9,6 +9,10 @@ main() {
|
||||||
yarn build
|
yarn build
|
||||||
yarn build:vscode
|
yarn build:vscode
|
||||||
yarn release
|
yarn release
|
||||||
|
|
||||||
|
# https://github.com/actions/upload-artifact/issues/38
|
||||||
|
mkdir -p release-npm-package
|
||||||
|
tar -czf release-npm-package/package.tar.gz release
|
||||||
}
|
}
|
||||||
|
|
||||||
main "$@"
|
main "$@"
|
||||||
|
|
Loading…
Reference in New Issue