mirror of
https://github.com/tcsenpai/swingmusic.git
synced 2025-06-07 03:35:35 +00:00
update workflow
This commit is contained in:
parent
80a467098f
commit
a849e12be3
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
@ -23,6 +23,14 @@ on:
|
|||||||
options:
|
options:
|
||||||
- true
|
- true
|
||||||
- false
|
- false
|
||||||
|
build_docker:
|
||||||
|
description: "Release Docker image"
|
||||||
|
required: true
|
||||||
|
type: choice
|
||||||
|
default: "false"
|
||||||
|
options:
|
||||||
|
- true
|
||||||
|
- false
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@ -122,6 +130,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build
|
needs: build
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
|
if: inputs.build_docker == 'true'
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout into repo
|
- name: Checkout into repo
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user