Skip to content

Release Development #110

Release Development

Release Development #110

Workflow file for this run

name: Release Development
on: workflow_dispatch
jobs:
build-linux:
name: Build on Linux
uses: Moonshine-IDE/Super.Human.Installer/.github/workflows/linux-dev.yml@master
secrets: inherit
build-windows:
name: Build on Windows
uses: Moonshine-IDE/Super.Human.Installer/.github/workflows/windows-dev.yml@master
secrets: inherit
build-macos:
name: Build on MacOS
uses: Moonshine-IDE/Super.Human.Installer/.github/workflows/macos-dev.yml@master
secrets: inherit
release:
name: Draft Development Release
needs: [build-linux, build-windows, build-macos]
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Get Current Time
id: current-time
uses: josStorer/[email protected]
- name: Read version
id: readversion
uses: mavrosxristoforos/[email protected]
with:
xml-file: 'project.xml'
xpath: '/project/meta/@version'
- name: Download macOS installer
uses: actions/download-artifact@v3
with:
name: SuperHumanInstallerDev-Setup
- name: Download windows installer
uses: actions/download-artifact@v3
with:
name: SuperHumanInstallerDev-Setup
- name: Download choco package
uses: actions/download-artifact@v3
with:
name: SuperHumanInstallerDev-Choco
- name: Download linux installer
uses: actions/download-artifact@v3
with:
name: SuperHumanInstallerDev
- name: json-to-file
uses: devops-actions/[email protected]
with:
json: |
{
"workflow": "development",
"version": "${{ steps.readversion.outputs.info }}",
"branch": "${{ github.ref_name }}",
"commit_sha": "${{ github.sha }}",
"build_date": "${{ steps.current-time.outputs.readableTime }}"
}
filename: buildinfo.json
- name: Create release
uses: softprops/action-gh-release@v1
with:
name: Development Release
tag_name: ${{ steps.readversion.outputs.info }}-dev
body: |
This is a Development Release of Super.Human.Installer.
It is not intended for production use.
draft: false
prerelease: true
files: |
SuperHumanInstallerDev-Setup.pkg
SuperHumanInstallerDev-Setup.exe
SuperHumanInstallerDev.tar.gz
SuperHumanInstallerDev-Choco.nupkg
buildinfo.json
fail_on_unmatched_files: true