File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
workflow_call :
3
3
secrets :
4
4
rubygems_api_key :
5
- required : true
5
+ required : false
6
6
inputs :
7
7
before_build :
8
8
type : string
61
61
release :
62
62
needs : [build, license-compliance]
63
63
runs-on : ubuntu-latest
64
- if : ${{ contains(github.ref, 'refs/tags/v') && contains(github.ref, inputs.package) }}
64
+ if : ${{ secrets.rubygems_api_key != '' && contains(github.ref, 'refs/tags/v') && contains(github.ref, inputs.package) }}
65
65
steps :
66
66
- uses : actions/checkout@v3
67
67
- uses : cadwallion/publish-rubygems-action@master
Original file line number Diff line number Diff line change 44
44
45
45
The following secrets are expected to be available:
46
46
47
- | **Secret** | **Required** |
48
- | ---------------- | ------------ |
49
- | rubygems_api_key | true |
47
+ | **Secret** | **Required** |
48
+ | ---------------- | ------------------ |
49
+ | rubygems_api_key | true, if releasing |
You can’t perform that action at this time.
0 commit comments