Skip to content

Commit d0a1867

Browse files
authored
Merge pull request #550 from diffblue/ebmc-packages-fixup8
Fix ebmc release workflow
2 parents f8cd369 + 9f91c3c commit d0a1867

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ebmc-release.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ jobs:
3030
needs: [get-version-information]
3131
outputs:
3232
upload_url: ${{ steps.draft_release.outputs.upload_url }}
33+
id: ${{ steps.draft_release.outputs.id }}
3334
steps:
3435
- name: Create draft release
3536
id: draft_release
@@ -48,7 +49,7 @@ jobs:
4849
runs-on: ubuntu-22.04
4950
needs: [perform-draft-release]
5051
outputs:
51-
rpm_package_name: ${{ steps.create_packages.outputs.deb_package_name }}
52+
deb_package_name: ${{ steps.create_packages.outputs.deb_package_name }}
5253
steps:
5354
- uses: actions/checkout@v4
5455
with:
@@ -209,7 +210,7 @@ jobs:
209210
perform-release:
210211
name: Perform Release
211212
runs-on: ubuntu-20.04
212-
needs: [ubuntu-22_04-package, centos8-package, get-version-information]
213+
needs: [ubuntu-22_04-package, centos8-package, get-version-information, perform-draft-release]
213214
steps:
214215
- name: Create release
215216
uses: actions/create-release@v1
@@ -219,6 +220,7 @@ jobs:
219220
with:
220221
tag_name: ebmc-${{ env.EBMC_VERSION }}
221222
release_name: ebmc-${{ env.EBMC_VERSION }}
223+
release_id: ${{ needs.perform-draft-release.outputs.id }}
222224
draft: false
223225
prerelease: false
224226
body: |
@@ -229,15 +231,13 @@ jobs:
229231
On Ubuntu, install EBMC by downloading the *.deb package below for your version of Ubuntu and install with
230232
231233
```sh
232-
dpkg -i ubuntu-22.04-ebmc-${{ env.EBMC_VERSION }}-Linux.deb
233-
${{ needs.ubuntu-22_04-package.outputs.deb_package_name }}
234+
dpkg -i ${{ needs.ubuntu-22_04-package.outputs.deb_package_name }}
234235
```
235236
236237
## CentOS
237238
238239
On CentOS, install EBMC by downloading the *.rpm package below for your version of CentOS and install with
239240
240241
```sh
241-
rpm -i ebmc-${{ env.EBMC_VERSION }}-1.x86_64.rpm
242-
${{ needs.centos8-package.outputs.rpm_package_name }}
242+
rpm -i ${{ needs.centos8-package.outputs.rpm_package_name }}
243243
```

0 commit comments

Comments
 (0)