-
Notifications
You must be signed in to change notification settings - Fork 5
41 lines (34 loc) · 1.08 KB
/
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
38
39
40
41
name: Release
on:
workflow_dispatch:
inputs:
cliArgs:
description: "CLI args"
required: false
default: "--debug"
jobs:
release:
name: Release
runs-on: self-hosted-novum-mac
steps:
- uses: actions/checkout@v3.1.0
with:
token: ${{ secrets.NOVUM_PRIVATE_REPOS }}
- name: Setup Node.js
uses: actions/setup-node@v3.6.0
with:
node-version: 18.13.0
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.NOVUM_PRIVATE_REPOS }}
run: npx -p @semantic-release/changelog -p @semantic-release/git -p @semantic-release/exec -p semantic-release@20.0.2 semantic-release ${{ github.event.inputs.cliArgs }}
- name: Checkout Telefonica/github-actions repo
uses: actions/checkout@v3.1.0
with:
repository: Telefonica/github-actions
token: "${{ secrets.NOVUM_PRIVATE_REPOS }}"
path: .github/actions
- name: Send Notification to Teams
uses: ./.github/actions/microsoft-teams/notify
with:
channel: ios_releases