Skip to content

Fix ebmc release workflow #550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 15, 2024
Merged
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
12 changes: 6 additions & 6 deletions .github/workflows/ebmc-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
needs: [get-version-information]
outputs:
upload_url: ${{ steps.draft_release.outputs.upload_url }}
id: ${{ steps.draft_release.outputs.id }}
steps:
- name: Create draft release
id: draft_release
Expand All @@ -48,7 +49,7 @@ jobs:
runs-on: ubuntu-22.04
needs: [perform-draft-release]
outputs:
rpm_package_name: ${{ steps.create_packages.outputs.deb_package_name }}
deb_package_name: ${{ steps.create_packages.outputs.deb_package_name }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -209,7 +210,7 @@ jobs:
perform-release:
name: Perform Release
runs-on: ubuntu-20.04
needs: [ubuntu-22_04-package, centos8-package, get-version-information]
needs: [ubuntu-22_04-package, centos8-package, get-version-information, perform-draft-release]
steps:
- name: Create release
uses: actions/create-release@v1
Expand All @@ -219,6 +220,7 @@ jobs:
with:
tag_name: ebmc-${{ env.EBMC_VERSION }}
release_name: ebmc-${{ env.EBMC_VERSION }}
release_id: ${{ needs.perform-draft-release.outputs.id }}
draft: false
prerelease: false
body: |
Expand All @@ -229,15 +231,13 @@ jobs:
On Ubuntu, install EBMC by downloading the *.deb package below for your version of Ubuntu and install with

```sh
dpkg -i ubuntu-22.04-ebmc-${{ env.EBMC_VERSION }}-Linux.deb
${{ needs.ubuntu-22_04-package.outputs.deb_package_name }}
dpkg -i ${{ needs.ubuntu-22_04-package.outputs.deb_package_name }}
```

## CentOS

On CentOS, install EBMC by downloading the *.rpm package below for your version of CentOS and install with

```sh
rpm -i ebmc-${{ env.EBMC_VERSION }}-1.x86_64.rpm
${{ needs.centos8-package.outputs.rpm_package_name }}
rpm -i ${{ needs.centos8-package.outputs.rpm_package_name }}
```