release #34
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |