Skip to content

Commit 28c519f

Browse files
committed
[ci] initial Actions implementation
Signed-off-by: Ayane Satomi <chinodesuuu@gmail.com>
1 parent 42f7b5d commit 28c519f

2 files changed

Lines changed: 45 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- '*'
7+
jobs:
8+
build:
9+
name: Build
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v1
13+
14+
- name: Build code-server Binary
15+
run: scripts/ci.bash
16+
env:
17+
VSCODE_VERSION: '1.38.1'
18+
MINIFY: 'false'
19+
PACKAGE: 'true'

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Build
2+
on:
3+
push:
4+
tags:
5+
- '*'
6+
jobs:
7+
build:
8+
name: Build
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
13+
- name: Build code-server Binary
14+
run: scripts/ci.bash
15+
env:
16+
MAJOR_VERSION: '2'
17+
VERSION: '${MAJOR_VERSION}.${GITHUB_SHA}'
18+
VSCODE_VERSION: '1.38.1'
19+
MINIFY: 'false'
20+
PACKAGE: 'true'
21+
- name: Upload artifacts
22+
uses: skx/github-action-publish-binaries@master
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
with:
26+
args: 'releases/*.*'

0 commit comments

Comments
 (0)