Skip to content

Commit

Permalink
Fix ebmc release workflow
Browse files Browse the repository at this point in the history
Attempt to use Github CLI to publish the release.
  • Loading branch information
kroening committed Jun 15, 2024
1 parent 563a06e commit 2aa28c6
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions .github/workflows/ebmc-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,31 +213,27 @@ jobs:
needs: [ubuntu-22_04-package, centos8-package, get-version-information, perform-draft-release]
steps:
- name: Publish release
uses: tubone24/[email protected]
env:
EBMC_VERSION: ${{ needs.get-version-information.outputs.version }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ebmc-${{ env.EBMC_VERSION }}
release_name: ebmc-${{ env.EBMC_VERSION }}
id: ${{ needs.perform-draft-release.outputs.id }}
draft: false
prerelease: false
body: |
This is EBMC version ${{ env.EBMC_VERSION }}.
run: |
cat > body << EOM
This is EBMC version ${{ env.EBMC_VERSION }}.
## Ubuntu
## Ubuntu
On Ubuntu, install EBMC by downloading the *.deb package below for your version of Ubuntu and install with
On Ubuntu, install EBMC by downloading the *.deb package below for your version of Ubuntu and install with
```sh
dpkg -i ${{ needs.ubuntu-22_04-package.outputs.deb_package_name }}
```
```sh
dpkg -i ${{ needs.ubuntu-22_04-package.outputs.deb_package_name }}
```
## CentOS
## CentOS
On CentOS, install EBMC by downloading the *.rpm package below for your version of CentOS and install with
On CentOS, install EBMC by downloading the *.rpm package below for your version of CentOS and install with
```sh
rpm -i ${{ needs.centos8-package.outputs.rpm_package_name }}
```
```sh
rpm -i ${{ needs.centos8-package.outputs.rpm_package_name }}
```
EOM
gh release edit ebmc-${{ env.EBMC_VERSION }} --draft=false --notes-file body

0 comments on commit 2aa28c6

Please sign in to comment.