Skip to content

Commit

Permalink
Fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Sophist-UK committed Feb 21, 2024
1 parent b34fb27 commit 5f83063
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 135 deletions.
132 changes: 0 additions & 132 deletions .github/workflows/build_manual.yaml

This file was deleted.

1 change: 0 additions & 1 deletion .github/workflows/build_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ concurrency:

jobs:
build_multiple:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ concurrency:

jobs:
build_multiple:
runs-on: ubuntu-latest
permissions:
contents: write
strategy:
Expand Down
99 changes: 98 additions & 1 deletion .github/workflows/build_single.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,102 @@
name: Build firmware - Single variant

on:
workflow_dispatch:
# Note: We are at the Github maximum of 10 inputs
inputs:
lang:
description: 'Language:'
options:
- en
- an
- bg
- ca
- cz
- da
- de
- el
- el_CY
- es
- eu
- fi
- fr
- gl
- hr
- hu
- it
- jp_kana
- ko_KR
- nl
- pl
- pt
- pt_br
- ro
- ru
- sk
- sv
- tr
- uk
- vi
- zh_CN
- zh_TW
required: true
type: choice
default: 'en'
bicol:
description: 'Bicolor (0, 1):'
options: [0, 1]
required: true
type: choice
default: 0
filsens:
description: 'Extruder+ (0, 1):'
options: [0, 1]
required: true
type: choice
default: 0
trapez:
description: 'Trapezoidal (0, 1):'
options: [0, 1]
required: true
type: choice
default: 0
xl:
description: 'XL (0, 1):'
options: [0, 1]
required: true
type: choice
default: 0
nolcd:
description: 'No LCD (0, 1):'
options: [0, 1]
required: true
type: choice
default: 0
therm:
description: 'Black thermistor wires (0, 1):'
options: [0, 1]
required: true
type: choice
default: 0
bltouch:
description: 'BLtouch (0, 1):'
options: [0, 1]
required: true
type: choice
default: 0
pinout:
description: 'MKS std pinout (0, 1):'
options: [0, 1]
required: true
type: choice
default: 0
z122:
description: 'Z122 head (0, 1):'
options: [0, 1]
required: true
type: choice
default: 0

workflow_call:
inputs:
lang:
Expand Down Expand Up @@ -46,7 +142,7 @@ on:

concurrency:
group: "\
${{ github.workflow_ref }}-${{ github.ref }}\
${{ github.workflow }}-${{ github.ref }}\
-lang:${{ inputs.lang }}\
-bicol:${{ inputs.bicol }}\
-sens:${{ inputs.filsens }}\
Expand Down Expand Up @@ -88,6 +184,7 @@ jobs:
pinout:${{ inputs.pinout }},
z122:${{ inputs.z122 }}\
]"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 5f83063

Please sign in to comment.