Skip to content

Commit 3a02763

Browse files
committed
Update release pipelines
1 parent 339df4e commit 3a02763

File tree

2 files changed

+2
-42
lines changed

2 files changed

+2
-42
lines changed

.github/workflows/snapshot_release.yaml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
default: 'Snapshot release'
1212

1313
jobs:
14-
test:
14+
deploy:
1515
strategy:
1616
matrix:
1717
os: [ ubuntu-20.04, macos-11, windows-2019 ]
@@ -41,26 +41,6 @@ jobs:
4141
with:
4242
working-directory: ./test/window-integration-tests
4343
run: npm cit
44-
45-
deploy:
46-
needs:
47-
- test
48-
strategy:
49-
matrix:
50-
os: [ ubuntu-20.04, macos-11, windows-2019 ]
51-
runs-on: ${{matrix.os}}
52-
steps:
53-
- name: Set up Git repository
54-
uses: actions/[email protected]
55-
- name: Set up node
56-
uses: actions/[email protected]
57-
with:
58-
node-version: 18
59-
- name: Configure Linux environment
60-
if: ${{matrix.os == 'ubuntu-20.04'}}
61-
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
62-
- name: Install
63-
run: npm run patch && npm i
6444
- name: Publish snapshot release
6545
if: ${{matrix.os == 'ubuntu-20.04' || matrix.os == 'macos-11'}}
6646
run: ./.build/pre-release.sh

.github/workflows/tagged_release.yaml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- v*.*.*
66

77
jobs:
8-
test:
8+
deploy:
99
strategy:
1010
matrix:
1111
os: [ ubuntu-20.04, macos-11, windows-2019 ]
@@ -35,26 +35,6 @@ jobs:
3535
with:
3636
working-directory: ./test/window-integration-tests
3737
run: npm cit
38-
39-
deploy:
40-
needs:
41-
- test
42-
strategy:
43-
matrix:
44-
os: [ ubuntu-20.04, macos-11, windows-2019 ]
45-
runs-on: ${{matrix.os}}
46-
steps:
47-
- name: Set up Git repository
48-
uses: actions/[email protected]
49-
- name: Set up node
50-
uses: actions/[email protected]
51-
with:
52-
node-version: 18
53-
- name: Configure Linux environment
54-
if: ${{matrix.os == 'ubuntu-20.04'}}
55-
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
56-
- name: Install
57-
run: npm run patch && npm i
5838
- name: Publish tagged release
5939
uses: JS-DevTools/npm-publish@v1
6040
with:

0 commit comments

Comments
 (0)