Skip to content

Commit

Permalink
Add stub workflow
Browse files Browse the repository at this point in the history
(References: #42)
  • Loading branch information
Aszusz committed Mar 17, 2024
1 parent 04cb918 commit bf92aee
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: MANUAL - Release

on:
workflow_dispatch:
inputs:
env:
description: "An Environment"
required: true
type: choice
options:
- development
- production
version:
description: "A Version"
required: true
type: string

env:
tag: v${{ inputs.version }}${{ inputs.env == 'production' && ' ' || '-Dev' }}

jobs:

build-windows:
name: Build on Windows
uses: moonshine-ide/moonshine-sdk-installer/.github/workflows/build-windows.yml@42-github-actions-slow-refactor
secrets: inherit
with:
env: ${{ inputs.env }}
version: ${{ inputs.version }}

build-macos:
name: Build on MacOS
uses: moonshine-ide/moonshine-sdk-installer/.github/workflows/build-macos.yml@42-github-actions-slow-refactor
secrets: inherit
with:
env: ${{ inputs.env }}
version: ${{ inputs.version }}

release:
name: Draft Development Release
needs: [build-windows, build-macos]
runs-on: ubuntu-latest

steps:
- name: Print info
run: |
echo "Stub workflow"

0 comments on commit bf92aee

Please sign in to comment.