Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Fix usage of input booleans (these are now correctly handled as … #164

Merged
merged 1 commit into from
May 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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