We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bc161c commit 9a3a0a7Copy full SHA for 9a3a0a7
.github/workflows/asset-release.yml
@@ -7,7 +7,11 @@ on:
7
inputs:
8
tag:
9
description: 'Tag to generate documentation for'
10
+ required: true
11
+ dry-run:
12
+ description: 'does not push the assets when true'
13
required: false
14
+ default: "true"
15
jobs:
16
asset:
17
runs-on: ${{ matrix.operating-system }}
@@ -52,7 +56,7 @@ jobs:
52
56
53
57
- name: Upload Release Archive
54
58
uses: softprops/action-gh-release@v2
55
- if: github.ref_type == 'tag'
59
+ if: github.ref_type == 'tag' || inputs.dry-run != 'true'
60
with:
61
files: |
62
./google-api-php-client-${{ inputs.tag || steps.tagName.outputs.tag }}-PHP${{ matrix.php }}.zip
0 commit comments