Skip to content

Commit

Permalink
iterate
Browse files Browse the repository at this point in the history
  • Loading branch information
aalves08 committed Nov 8, 2024
1 parent 3a333cc commit 18a3adc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-extension-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
type: string
test_repo:
required: false
type: string
type: boolean
test_branch:
required: false
type: string
Expand All @@ -36,15 +36,15 @@ jobs:
actions: write
contents: read
steps:
- if: is_test == 'true'
- if: is_test == true
name: Checkout (test flow)
uses: actions/checkout@v4
with:
repository: rancher/${{ inputs.test_repo }}
ref: ${{ inputs.test_branch }}
fetch-depth: 0

- if: is_test != 'true'
- if: is_test != true
name: Checkout (normal flow)
uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

release:
name: Release Build
if: github.ref_type == 'tag' || (github.ref == 'refs/heads/main' && github.event_name != 'pull_request') || inputs.is_test != 'true'
if: github.ref_type == 'tag' || (github.ref == 'refs/heads/main' && github.event_name != 'pull_request') || inputs.is_test != true
needs: build-extension-artifact
runs-on: ubuntu-latest
permissions:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-extension-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
deployments: write
pages: write
with:
target_branch: 'gh-pages'
tagged_release: 'clock-0.3.2'
is_test: 'true'
test_repo: 'ui-plugin-examples'
test_branch: 'main'
target_branch: gh-pages
tagged_release: clock-0.3.2
is_test: true
test_repo: ui-plugin-examples
test_branch: main

0 comments on commit 18a3adc

Please sign in to comment.