Skip to content

Commit

Permalink
[ci] Fix usage of input booleans (these are now correctly handled as …
Browse files Browse the repository at this point in the history
…bools instead of strings)
  • Loading branch information
WojciechMazur committed May 25, 2023
1 parent 8a81dac commit 02abedf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/buildExecuteCustom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,14 @@ jobs:
path: ${{ github.workspace }}/raport-*.md

- uses: tibdex/github-app-token@v1
if: ${{ inputs.push-to-gh-pages }}
id: generate-token
with:
app_id: 303718
private_key: ${{ secrets.OPENCB_CONFIG_UPDATE_TOKEN }}

- name: Push raport
if: ${{ inputs.push-to-gh-pages == 'true' }}
if: ${{ inputs.push-to-gh-pages }}
uses: ./.github/actions/push-raport-to-gh-pages
with:
artifact-name: build-raports
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/compare.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
--compareWithBuildId=${{ inputs.compare-with-build-id }}
- name: Generate GH-page raport
if: ${{ inputs.push-to-gh-pages == 'true' }}
if: ${{ inputs.push-to-gh-pages }}
env:
ES_USER: ${{ secrets.OPENCB_ELASTIC_USER }}
ES_PASSWORD: ${{ secrets.OPENCB_ELASTIC_PSWD }}
Expand All @@ -62,20 +62,20 @@ jobs:
- name: Upload raports
uses: actions/upload-artifact@v3
if: ${{ inputs.push-to-gh-pages == 'true' && inputs.scala-version != '' }}
if: ${{ inputs.push-to-gh-pages && inputs.scala-version != '' }}
with:
name: build-raports
path: ${{ github.workspace }}/raport-*.md

- uses: tibdex/github-app-token@v1
if: ${{ inputs.push-to-gh-pages == 'true' && inputs.scala-version != '' }}
if: ${{ inputs.push-to-gh-pages && inputs.scala-version != '' }}
id: generate-token
with:
app_id: 303718
private_key: ${{ secrets.OPENCB_CONFIG_UPDATE_TOKEN }}

- name: Push raport
if: ${{ inputs.push-to-gh-pages == 'true' && inputs.scala-version != '' }}
if: ${{ inputs.push-to-gh-pages && inputs.scala-version != '' }}
uses: ./.github/actions/push-raport-to-gh-pages
with:
artifact-name: build-raports
Expand Down

0 comments on commit 02abedf

Please sign in to comment.