Skip to content
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
4 changes: 2 additions & 2 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ runs:
gradle ${{ inputs.args }}
fi
- name: Upload
if: ${{ inputs.path-to-upload && !inputs.dry-run }}
if: ${{ inputs.path-to-upload }}
uses: actions/upload-artifact@v3.0.0
with:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.path-to-upload }}
if-no-files-found: error
if-no-files-found: warn
4 changes: 2 additions & 2 deletions .github/workflows/publish-javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
dry_run:
description: 'Dry run'
type: boolean
required: false
default: false
workflow_call:
inputs:
dry_run:
description: 'Dry run'
type: boolean
required: true
default: false

defaults:
run:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
dry_run:
description: 'Dry run'
type: boolean
required: false
default: false
workflow_call:
inputs:
dry_run:
description: 'Dry run'
type: boolean
required: true
default: false

defaults:
run:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/update-api-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
dry_run:
description: 'Dry run'
type: boolean
required: false
default: false
workflow_call:
inputs:
dry_run:
description: 'Dry run'
type: boolean
required: true
default: false

defaults:
run:
Expand All @@ -34,7 +34,7 @@ jobs:
fi
rm new.txt || true
- name: 'Create PR'
if: ${{ !inputs.dry_run && env.NEW_VERSION }}
if: ${{ inputs.dry_run != true && env.NEW_VERSION }}
uses: peter-evans/create-pull-request@v5
with:
branch: "feature/api-spec-${{ env.NEW_VERSION }}"
Expand Down