workflow: make tarball before uploading
This commit is contained in:
parent
39e1b2dcaf
commit
1067cba34b
2 changed files with 12 additions and 3 deletions
5
.github/workflows/build-packages.yml
vendored
5
.github/workflows/build-packages.yml
vendored
|
@ -50,9 +50,12 @@ jobs:
|
|||
run: |
|
||||
nix run github:zhaofengli/attic push main result
|
||||
|
||||
- name: prepare tarball to upload
|
||||
run: nix run github:nixos/nixpkgs#gnutar hcvf result.tar result
|
||||
|
||||
- name: upload result
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ matrix.package }}-${{ matrix.os }}
|
||||
path: result
|
||||
path: result.tar
|
||||
if-no-files-found: error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue