Skip to content

Commit 602b672

Browse files
authored
Merge pull request #368 from fwal/fwal/release-automations
Release automations
2 parents e95aea0 + 6b86098 commit 602b672

File tree

2 files changed

+21
-4
lines changed

2 files changed

+21
-4
lines changed

.github/workflows/draft-release.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,26 @@ on:
77

88
jobs:
99
update-release-draft:
10-
name: Update Release Draft
1110
runs-on: ubuntu-latest
1211
steps:
13-
- uses: release-drafter/release-drafter@v5
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
15+
- name: Update Release Draft
16+
id: release_draft
17+
uses: release-drafter/release-drafter@v5
1418
env:
1519
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
21+
- name: Set version
22+
run: npm version "${{ steps.release_draft.outputs.name }}" --allow-same-version true --git-tag-version false
23+
24+
- name: Install Dependencies
25+
run: npm install
26+
27+
- name: Build
28+
run: npm run all
29+
30+
- name: Commit
31+
uses: EndBug/add-and-commit@v8
32+

.github/workflows/stability.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ jobs:
88
v1:
99
name: "v1: Swift ${{ matrix.swift }} on ${{ matrix.os }}"
1010
runs-on: ${{ matrix.os }}
11-
continue-on-error: true
1211
strategy:
1312
matrix:
1413
os: [ubuntu-latest, macos-latest]
@@ -18,11 +17,11 @@ jobs:
1817
with:
1918
swift-version: ${{ matrix.swift }}
2019
- name: Swift version
20+
if: always()
2121
run: swift --version | grep ${{ matrix.swift }} || exit 1
2222
main:
2323
name: "main: Swift ${{ matrix.swift }} on ${{ matrix.os }}"
2424
runs-on: ${{ matrix.os }}
25-
continue-on-error: true
2625
strategy:
2726
matrix:
2827
os: [ubuntu-latest, macos-latest]
@@ -32,4 +31,5 @@ jobs:
3231
with:
3332
swift-version: ${{ matrix.swift }}
3433
- name: Swift version
34+
if: always()
3535
run: swift --version | grep ${{ matrix.swift }} || exit 1

0 commit comments

Comments
 (0)