mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-03-10 17:28:49 +01:00
ci: Simplify a few steps
curl and zstd are available on the CI image, no need to use the devshell for them. Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
6cc9a51105
commit
5effc34f69
1 changed files with 9 additions and 13 deletions
|
@ -59,21 +59,17 @@ jobs:
|
|||
package: packages.${{ matrix.system }}.iocaine-static
|
||||
|
||||
- name: compress the binary
|
||||
uses: actions/nix/develop@main
|
||||
with:
|
||||
run: |
|
||||
zstd result/bin/iocaine -o iocaine-latest.${{ matrix.system }}.zst
|
||||
run: |
|
||||
zstd result/bin/iocaine -o iocaine-latest.${{ matrix.system }}.zst
|
||||
|
||||
- name: upload package
|
||||
uses: actions/nix/develop@main
|
||||
with:
|
||||
run: |
|
||||
curl --user :${{ secrets.DOCKER_PASSWORD }} -XDELETE \
|
||||
https://git.madhouse-project.org/api/packages/iocaine/generic/iocaine-binaries/latest
|
||||
curl --user :${{ secrets.DOCKER_PASSWORD }} \
|
||||
--upload-file iocaine-latest.${{ matrix.system }}.zst \
|
||||
--fail \
|
||||
https://git.madhouse-project.org/api/packages/iocaine/generic/iocaine-binaries/latest/iocaine-latest.${{ matrix.system }}.zst
|
||||
run: |
|
||||
curl --user :${{ secrets.DOCKER_PASSWORD }} -XDELETE \
|
||||
https://git.madhouse-project.org/api/packages/iocaine/generic/iocaine-binaries/latest
|
||||
curl --user :${{ secrets.DOCKER_PASSWORD }} \
|
||||
--upload-file iocaine-latest.${{ matrix.system }}.zst \
|
||||
--fail \
|
||||
https://git.madhouse-project.org/api/packages/iocaine/generic/iocaine-binaries/latest/iocaine-latest.${{ matrix.system }}.zst
|
||||
|
||||
container:
|
||||
runs-on: nixos-latest
|
||||
|
|
Loading…
Reference in a new issue