Skip to content

Commit

Permalink
[GitHub] Fix workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
drashna committed Jun 2, 2024
1 parent 3c559bb commit a748d87
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/qmk_userspace_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
default: "master"
required: false
type: string
preparation_command:
description: "command to execute before `qmk userspace-compile`"
default: ""
required: false
type: string

permissions:
contents: write
Expand Down Expand Up @@ -61,6 +66,11 @@ jobs:
run: |
qmk userspace-doctor
- name: Preparation command
if: inputs.preparation_command != ''
run: |
${{ inputs.preparation_command }}
- name: Build
run: |
qmk userspace-compile -e DUMP_CI_METADATA=yes || touch .failed
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qmk_userspace_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
release_name:
description: "allow setting the release name"
default: "latest"
default: "latest_${{ inputs.qmk_ref }}"
required: false
type: string
qmk_ref:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
with:
token: ${{ github.token }}
name: Latest QMK Firmware
tag_name: ${{ inputs.release_name || 'latest_${{ inputs.qmk_ref }}' }}
tag_name: ${{ inputs.release_name || 'latest' }}
fail_on_unmatched_files: false
draft: false
prerelease: false
Expand Down

0 comments on commit a748d87

Please sign in to comment.