Skip to content

Commit

Permalink
tests: use emtpy string instead of boolean value for snapd_deb_from_repo
Browse files Browse the repository at this point in the history
  • Loading branch information
maykathm authored and pedronis committed Dec 18, 2024
1 parent d916b68 commit ab92e14
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/spread-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ on:
spread-snapd-deb-from-repo:
description: 'If true, will use the snapd package from the repository when possible'
required: false
type: boolean
default: true
type: string
spread-experimental-features:
description: 'Comma-separated list of experimental snapd features to enable with: snap set system "experimental.<feature-name>=true"'
required: false
Expand All @@ -44,7 +43,6 @@ on:
jobs:
run-spread:
env:
SPREAD_SNAPD_DEB_FROM_REPO: ${{ inputs.spread-snapd-deb-from-repo }}
SPREAD_EXPERIMENTAL_FEATURES: ${{ inputs.spread-experimental-features }}

runs-on: ${{ fromJSON(inputs.runs-on) }}
Expand Down Expand Up @@ -73,6 +71,10 @@ jobs:
# spread uses tags as delta reference
fetch-depth: 0

- name: set SPREAD_SNAPD_DEB_FROM_REPO=1
if: ${{ inputs.spread-snapd-deb-from-repo == 'true' }}
run: echo "SPREAD_SNAPD_DEB_FROM_REPO=1" >> $GITHUB_ENV

- name: Get previous attempt
id: get-previous-attempt
run: |
Expand Down

0 comments on commit ab92e14

Please sign in to comment.