mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
Fix deb release flow to find the matrix split artifacts (#2406)
* Fix deb release flow to find the artefacts
In a matrix build they end up separated by directories. This fix
sidesteps the whole problem and downloads them into a single directory
with a pattern.
* Temporarily disable repo check to fully test previous commit
* Try without a filter, since it didn't match for some reason
* Add a TODO for marvinpinto/action-automatic-releases replacement
There's some options for replacement listed at
https://github.com/marvinpinto/action-automatic-releases/pull/2
.. just better to do that lift & shift separately from this chain.
* Revert "Temporarily disable repo check to fully test previous commit"
This reverts commit 9f2f0884e4
.
---------
Co-authored-by: Jinna Kiisuo <jinna+git@nocturnal.fi>
This commit is contained in:
parent
cc79b2a205
commit
cbf9a49db9
7
.github/workflows/debian_package_kanidm.yml
vendored
7
.github/workflows/debian_package_kanidm.yml
vendored
|
@ -67,14 +67,19 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Download previously built debs
|
- name: Download previously built debs
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
path: debs
|
||||||
|
merge-multiple: true
|
||||||
- name: List packages
|
- name: List packages
|
||||||
run: |
|
run: |
|
||||||
find $(pwd) -name '*.deb'
|
find $(pwd) -name '*.deb'
|
||||||
|
# TODO: This action is old and falling apart and will soon stop working.
|
||||||
|
# Context: https://github.com/marvinpinto/action-automatic-releases/pull/2
|
||||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
automatic_release_tag: "debs"
|
automatic_release_tag: "debs"
|
||||||
prerelease: true
|
prerelease: true
|
||||||
title: ".deb Packages"
|
title: ".deb Packages"
|
||||||
files: "*.deb"
|
files: "debs/*.deb"
|
||||||
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'kanidm/kanidm' }}
|
if: ${{ github.ref == 'refs/heads/master' && github.repository == 'kanidm/kanidm' }}
|
||||||
|
|
Loading…
Reference in a new issue