mirror of
https://github.com/coder/code-server.git
synced 2026-05-07 21:07:26 +02:00
Compare commits
5 Commits
v4.9.1-rc.
...
v4.9.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afc7a0ea98 | ||
|
|
87f606db2a | ||
|
|
6702b2d0af | ||
|
|
06483bc59d | ||
|
|
7305f2b216 |
26
.github/workflows/release.yaml
vendored
26
.github/workflows/release.yaml
vendored
@@ -67,22 +67,12 @@ jobs:
|
|||||||
- name: Decompress npm package
|
- name: Decompress npm package
|
||||||
run: tar -xzf package.tar.gz
|
run: tar -xzf package.tar.gz
|
||||||
|
|
||||||
- name: Fetch dependencies from cache
|
|
||||||
id: cache-node-modules
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: "**/node_modules"
|
|
||||||
key: yarn-build-linux-amd64-${{ hashFiles('**/yarn.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
yarn-build-linux-amd64-
|
|
||||||
|
|
||||||
# NOTE: && here is deliberate - GitHub puts each line in its own `.sh`
|
# NOTE: && here is deliberate - GitHub puts each line in its own `.sh`
|
||||||
# file when running inside a docker container.
|
# file when running inside a docker container.
|
||||||
- name: Build standalone release
|
- name: Build standalone release
|
||||||
run: source scl_source enable devtoolset-9 && npm run release:standalone
|
run: source scl_source enable devtoolset-9 && npm run release:standalone
|
||||||
|
|
||||||
- name: Install test dependencies
|
- name: Install test dependencies
|
||||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
|
||||||
run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile
|
run: SKIP_SUBMODULE_DEPS=1 yarn --frozen-lockfile
|
||||||
|
|
||||||
- name: Run integration tests on standalone release
|
- name: Run integration tests on standalone release
|
||||||
@@ -129,11 +119,11 @@ jobs:
|
|||||||
# but this means we don't need to maintain a self-hosted runner!
|
# but this means we don't need to maintain a self-hosted runner!
|
||||||
|
|
||||||
# NOTE@jsjoeio:
|
# NOTE@jsjoeio:
|
||||||
# We used to use 16.04 until GitHub deprecated it on September 20, 2021
|
# We used to use 18.04 until GitHub browned it out on December 15, 2022
|
||||||
# See here: https://github.com/actions/virtual-environments/pull/3862/files
|
# See here: https://github.com/actions/runner-images/issues/6002
|
||||||
package-linux-cross:
|
package-linux-cross:
|
||||||
name: Linux cross-compile builds
|
name: Linux cross-compile builds
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
needs: npm-version
|
needs: npm-version
|
||||||
strategy:
|
strategy:
|
||||||
@@ -237,20 +227,10 @@ jobs:
|
|||||||
- name: Decompress npm package
|
- name: Decompress npm package
|
||||||
run: tar -xzf package.tar.gz
|
run: tar -xzf package.tar.gz
|
||||||
|
|
||||||
- name: Fetch dependencies from cache
|
|
||||||
id: cache-node-modules
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: "**/node_modules"
|
|
||||||
key: yarn-build-macos-${{ hashFiles('**/yarn.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
yarn-build-macos-
|
|
||||||
|
|
||||||
- name: Build standalone release
|
- name: Build standalone release
|
||||||
run: npm run release:standalone
|
run: npm run release:standalone
|
||||||
|
|
||||||
- name: Install test dependencies
|
- name: Install test dependencies
|
||||||
if: steps.cache-node-modules.outputs.cache-hit != 'true'
|
|
||||||
run: SKIP_SUBMODULE_DEPS=1 yarn install
|
run: SKIP_SUBMODULE_DEPS=1 yarn install
|
||||||
|
|
||||||
- name: Run native module tests on standalone release
|
- name: Run native module tests on standalone release
|
||||||
|
|||||||
@@ -112,5 +112,3 @@ Helps avoid clobbering the CI configuration.
|
|||||||
- Loads all images in `./release-images` and then builds and pushes a multi architecture
|
- Loads all images in `./release-images` and then builds and pushes a multi architecture
|
||||||
docker manifest for the amd64 and arm64 images to `codercom/code-server:$VERSION` and
|
docker manifest for the amd64 and arm64 images to `codercom/code-server:$VERSION` and
|
||||||
`codercom/code-server:latest`.
|
`codercom/code-server:latest`.
|
||||||
|
|
||||||
hello world
|
|
||||||
|
|||||||
Reference in New Issue
Block a user