forked from coder/code-server
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 1009 Bytes
/
Copy pathbuild-release.yml
File metadata and controls
38 lines (35 loc) · 1009 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Release
on:
push:
tags:
- '*'
jobs:
build:
strategy:
matrix:
os: ['ubuntu-latest', 'macos-latest']
linux-platforms: ['linux', 'alpine']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Build code-server binary (Linux)
run: bash ./scripts/ci.bash
env:
MAJOR_VERSION: '2'
TARGET: ${{ matrix.linux-platforms }}
VERSION: '${MAJOR_VERSION}.${GITHUB_SHA}'
VSCODE_VERSION: '1.38.1'
MINIFY: 'true'
PACKAGE: 'true'
- name: Build code-server binary (macOS)
if: contains( ${{ strategy.matrix.os }} , 'macos-latest')
run: bash ./scripts/ci.bash
env:
MAJOR_VERSION: '2'
VERSION: '${MAJOR_VERSION}.${GITHUB_SHA}'
VSCODE_VERSION: '1.38.1'
MINIFY: 'true'
PACKAGE: 'true'