Skip to content

Commit

Permalink
Update BuildRelease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiserdragon2 committed Feb 9, 2025
1 parent 6144e74 commit 81438ec
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions .github/workflows/BuildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,20 @@ on:
workflow_dispatch:
inputs:
run_debug:
description: "Run Build Debug (true/false)"
description: "Run Build Debug"
type: boolean
required: false
default: "false"
default: false
run_play:
description: "Run Build Play"
type: boolean
required: false
default: false
run_GitRelease:
description: "Run Build Github"
type: boolean
required: false
default: false
permissions:
actions: none
attestations: none
Expand All @@ -32,7 +43,7 @@ jobs:
environment:
name: Release-Play
name: Build Arcticons Bundle
if: startsWith(github.ref, 'refs/tags/') && (github.event_name != 'workflow_dispatch' || inputs.run_debug == 'false')
if: startsWith(github.ref, 'refs/tags/') && (github.event_name != 'workflow_dispatch' || inputs.run_play == true)
runs-on: ubuntu-latest
steps:
- name: Checking out branch
Expand Down Expand Up @@ -107,10 +118,11 @@ jobs:
name: Build Arcticons APK
environment:
name: ReleaseGithub
if: startsWith(github.ref, 'refs/tags/') && (github.event_name != 'workflow_dispatch' || inputs.run_debug == 'false')
if: startsWith(github.ref, 'refs/tags/') && (github.event_name != 'workflow_dispatch' || inputs.run_GitRelease == true)
runs-on: ubuntu-latest
permissions:
contents: write
discussions: write
steps:
- name: Checking out branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -149,7 +161,7 @@ jobs:
debug:
name: Build Arcticons Debug APK
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' && inputs.run_debug == 'true' }}
if: ${{ github.event_name == 'workflow_dispatch' && inputs.run_debug == true }}
steps:
- name: Checking out branch
uses: actions/checkout@v4
Expand Down

0 comments on commit 81438ec

Please sign in to comment.