Skip to content
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

gh-868 Fixes to gh-actions for nightly builds #875

Merged
merged 1 commit into from
Nov 13, 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
24 changes: 19 additions & 5 deletions .github/workflows/package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,27 @@ jobs:
run: |
sudo mkdir -p /opt/loxilb/
sudo apt-get purge -y libssl-dev 2>&1 >> /dev/null | true
- name: Build loxilb deb package
run: |
git clone https://github.com/loxilb-io/tools.git build-tools && cd build-tools/pkg/ && make major=${{ github.event.inputs.tagName }} && cd -
- name: Upload the package to a release
if: github.repository == 'loxilb-io/loxilb'
- name: Build loxilb deb package with given tag
if: github.event.inputs.tagName != ''
run: git clone https://github.com/loxilb-io/tools.git build-tools && cd build-tools/pkg/ && make major=${{ github.event.inputs.tagName }} && cd -
- name: Build loxilb deb package with latest
if: github.event.inputs.tagName == ''
run: git clone https://github.com/loxilb-io/tools.git build-tools && cd build-tools/pkg/ && make major=latest && cd -
- name: Upload the package to a release with given tag
if: |
github.repository == 'loxilb-io/loxilb'
&& github.event.inputs.tagName != ''
uses: ncipollo/release-action@v1
with:
tag: v${{ github.event.inputs.tagName }}
allowUpdates: true
artifacts: "build-tools/pkg/*.deb"
- name: Upload the package to a release with latest tag
if: |
github.repository == 'loxilb-io/loxilb'
&& github.event.inputs.tagName == ''
uses: ncipollo/release-action@v1
with:
tag: vlatest
allowUpdates: true
artifacts: "build-tools/pkg/*.deb"
Loading