Skip to content

Commit

Permalink
Merge pull request #875 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
gh-868 Fixes to gh-actions for nightly builds
  • Loading branch information
UltraInstinct14 authored Nov 13, 2024
2 parents d80533f + d3230ae commit acdb37b
Showing 1 changed file with 19 additions and 5 deletions.
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"

0 comments on commit acdb37b

Please sign in to comment.