-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (32 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
name: release
on:
workflow_dispatch:
jobs:
release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get latest tag
run: echo "version=$(git describe --tags --abbrev=0)" >> $GITHUB_OUTPUT
id: tag
- name: install dependencies
run: npm install --location=global appdmg
- name: Create Release DMG
run: sh distribution/create_release.sh mac
- name: Create Release ZIP
run: sh distribution/create_release.sh win
- name: Create Release TAR
run: sh distribution/create_release.sh linux
- name: Echo Tag
run: echo ${{ steps.tag.outputs.version }}
- name: package and upload
uses: softprops/action-gh-release@v1
with:
name: ${{ steps.tag.outputs.version }}
body: "This is an automated ReaCoMa release. Download the appropriate version for your operating system."
files: "ReaCoMa*"
prerelease: true
tag_name: ${{ steps.tag.outputs.version }}
draft: false