fix using incorrect repo when building native packages (#12522)
Ilya Mashchenko committed
Mar 26, 2022 at 00:01 UTC
743aa7e266b2651df46e7a4c30677380c781e657
1 file changed
+9
-8
.github/workflows/release.yml
+9
-8
@@ -24,6 +24,7 @@ jobs:
24
outputs:
25
ref: ${{ steps.target.outputs.ref }}
26
version: ${{ steps.target.outputs.version }}
27
+ type: ${{ steps.target.outputs.type }}
28
run: ${{ steps.target.outputs.run }}
29
steps:
30
- name: Checkout
@@ -119,17 +120,17 @@ jobs:
120
repo: ${{ github.repository }}
121
workflow: Build
122
ref: ${{ needs.update-changelogs.outputs.ref }}
122
- inputs: '{"version": "${{ needs.update-changelogs.outputs.version }}", "type": "${{ github.event.inputs.type }}"}'
123
+ inputs: '{"version": "${{ needs.update-changelogs.outputs.version }}", "type": "${{ needs.update-changelogs.outputs.type }}"}'
124
- name: Failure Notification
125
uses: rtCamp/action-slack-notify@v2
126
env:
127
SLACK_COLOR: 'danger'
128
SLACK_FOOTER: ''
129
SLACK_ICON_EMOJI: ':github-actions:'
129
- SLACK_TITLE: 'Failed to trigger ${{ github.event.inputs.type }} artifact builds:'
130
+ SLACK_TITLE: 'Failed to trigger ${{ needs.update-changelogs.outputs.type }} artifact builds:'
131
SLACK_USERNAME: 'GitHub Actions'
132
SLACK_MESSAGE: |-
132
- ${{ github.repository }}: Failed to trigger ${{ github.event.inputs.type }} artifact builds.
133
+ ${{ github.repository }}: Failed to trigger ${{ needs.update-changelogs.outputs.type }} artifact builds.
134
Checkout: ${{ steps.checkout.outcome }}
135
Trigger build: ${{ steps.trigger.outcome }}
136
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
@@ -161,10 +162,10 @@ jobs:
162
SLACK_COLOR: 'danger'
163
SLACK_FOOTER: ''
164
SLACK_ICON_EMOJI: ':github-actions:'
164
- SLACK_TITLE: 'Failed to trigger ${{ github.event.inputs.type }} Docker builds:'
165
+ SLACK_TITLE: 'Failed to trigger ${{ needs.update-changelogs.outputs.type }} Docker builds:'
166
SLACK_USERNAME: 'GitHub Actions'
167
SLACK_MESSAGE: |-
167
- ${{ github.repository }}: Failed to trigger ${{ github.event.inputs.type }} Docker builds.
168
+ ${{ github.repository }}: Failed to trigger ${{ needs.update-changelogs.outputs.type }} Docker builds.
169
Checkout: ${{ steps.checkout.outcome }}
170
Trigger build: ${{ steps.trigger.outcome }}
171
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
@@ -189,17 +190,17 @@ jobs:
190
repo: ${{ github.repository }}
191
workflow: Packages
192
ref: ${{ needs.update-changelogs.outputs.ref }}
192
- inputs: '{"version": "${{ needs.update-changelogs.outputs.version }}", "type": "${{ github.event.inputs.type }}"}'
193
+ inputs: '{"version": "${{ needs.update-changelogs.outputs.version }}", "type": "${{ needs.update-changelogs.outputs.type }}"}'
194
- name: Failure Notification
195
uses: rtCamp/action-slack-notify@v2
196
env:
197
SLACK_COLOR: 'danger'
198
SLACK_FOOTER: ''
199
SLACK_ICON_EMOJI: ':github-actions:'
199
- SLACK_TITLE: 'Failed to trigger ${{ github.event.inputs.type }} package builds:'
200
+ SLACK_TITLE: 'Failed to trigger ${{ needs.update-changelogs.outputs.type }} package builds:'
201
SLACK_USERNAME: 'GitHub Actions'
202
SLACK_MESSAGE: |-
202
- ${{ github.repository }}: Failed to trigger ${{ github.event.inputs.type }} package builds.
203
+ ${{ github.repository }}: Failed to trigger ${{ needs.update-changelogs.outputs.type }} package builds.
204
Checkout: ${{ steps.checkout.outcome }}
205
Trigger build: ${{ steps.trigger.outcome }}
206
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}