mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:31 +00:00
Merge pull request #216 from FilipRazek/fix-upload-artifact-job
ci: Fix Debian artifact names
This commit is contained in:
1 file changed
+3
-3
@@ -212,7 +212,7 @@ jobs:
|
|||||||
|
|
||||||
DPKG_BASENAME=${{ needs.crate_metadata.outputs.name }}
|
DPKG_BASENAME=${{ needs.crate_metadata.outputs.name }}
|
||||||
DPKG_CONFLICTS=${{ needs.crate_metadata.outputs.name }}-musl
|
DPKG_CONFLICTS=${{ needs.crate_metadata.outputs.name }}-musl
|
||||||
case ${{ matrix.job.target }} in *-musl) DPKG_BASENAME=${{ needs.crate_metadata.outputs.name }}-musl ; DPKG_CONFLICTS=${{ needs.crate_metadata.outputs.name }} ;; esac;
|
case ${{ matrix.job.target }} in *-musl*) DPKG_BASENAME=${{ needs.crate_metadata.outputs.name }}-musl ; DPKG_CONFLICTS=${{ needs.crate_metadata.outputs.name }} ;; esac;
|
||||||
DPKG_VERSION=${{ needs.crate_metadata.outputs.version }}
|
DPKG_VERSION=${{ needs.crate_metadata.outputs.version }}
|
||||||
|
|
||||||
unset DPKG_ARCH
|
unset DPKG_ARCH
|
||||||
@@ -304,13 +304,13 @@ jobs:
|
|||||||
fakeroot dpkg-deb --build "${DPKG_DIR}" "${DPKG_PATH}"
|
fakeroot dpkg-deb --build "${DPKG_DIR}" "${DPKG_PATH}"
|
||||||
|
|
||||||
- name: "Artifact upload: tarball"
|
- name: "Artifact upload: tarball"
|
||||||
uses: actions/upload-artifact@master
|
uses: actions/upload-artifact@main
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.package.outputs.PKG_NAME }}
|
name: ${{ steps.package.outputs.PKG_NAME }}
|
||||||
path: ${{ steps.package.outputs.PKG_PATH }}
|
path: ${{ steps.package.outputs.PKG_PATH }}
|
||||||
|
|
||||||
- name: "Artifact upload: Debian package"
|
- name: "Artifact upload: Debian package"
|
||||||
uses: actions/upload-artifact@master
|
uses: actions/upload-artifact@main
|
||||||
if: steps.debian-package.outputs.DPKG_NAME
|
if: steps.debian-package.outputs.DPKG_NAME
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.debian-package.outputs.DPKG_NAME }}
|
name: ${{ steps.debian-package.outputs.DPKG_NAME }}
|
||||||
|
|||||||
Reference in new issue
Block a user