Skip to content

Commit

Permalink
build(ci): github action 트리거 고도화
Browse files Browse the repository at this point in the history
  • Loading branch information
BitYoungjae committed Oct 31, 2023
1 parent e3b43ce commit 8864e24
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/publish-app.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: publish-app

on: workflow_dispatch
on:
workflow_dispatch:
inputs:
build_mac:
type: boolean
default: true
build_window:
type: boolean
default: true

env:
AWS_DEFAULT_REGION: ${{ vars.AWS_DEFAULT_REGION }}
Expand All @@ -10,6 +18,7 @@ env:
jobs:
deploy-mac:
runs-on: macos-latest
if: inputs.build_mac == true
steps:
- name: Echo Settings
run: |
Expand Down Expand Up @@ -50,7 +59,7 @@ jobs:
deploy-windows:
runs-on: windows-latest
# release 브랜치는 프로덕션 빌드만 목적으로 두기 때문에, 윈도우 베타 빌드는 생략한다.
if: github.ref_name != 'release'
if: inputs.build_window == true && github.ref_name != 'release'
steps:
- name: Echo Settings
run: |
Expand Down

0 comments on commit 8864e24

Please sign in to comment.