-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (30 loc) · 908 Bytes
/
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
name: Package and Release
on:
push:
tags:
- '**'
jobs:
release:
runs-on: ubuntu-latest
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
# "GITHUB_TOKEN" is a secret automatically provided to the workflow
# for your own token, the name cannot start with "GITHUB_"
steps:
# Include submodule on checkout
- name: Clone Project
uses: actions/checkout@v3
with:
submodules: recursive
- name: Create Latest Changelog
uses: kemayo/actions-recent-changelog@v1
with:
input: CHANGELOG.md
output: CHANGELOG-LATEST.md
- name: Package and Release
uses: BigWigsMods/packager@v2
with:
args: -g retail