forked from CESNET/perun-wui
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (37 loc) · 1.15 KB
/
semantic-release.yml
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
name: Semantic release
on:
push:
branches-ignore:
- master
tags-ignore:
- v*
jobs:
semantic-release:
name: Semantic release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: "Set up JDK"
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 17
- name: "Cache"
uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Release
id: semantic
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release