mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-03-11 01:38: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
|
package: packages.${{ matrix.system }}.iocaine-static
|
||||||
|
|
||||||
- name: compress the binary
|
- name: compress the binary
|
||||||
uses: actions/nix/develop@main
|
run: |
|
||||||
with:
|
zstd result/bin/iocaine -o iocaine-latest.${{ matrix.system }}.zst
|
||||||
run: |
|
|
||||||
zstd result/bin/iocaine -o iocaine-latest.${{ matrix.system }}.zst
|
|
||||||
|
|
||||||
- name: upload package
|
- name: upload package
|
||||||
uses: actions/nix/develop@main
|
run: |
|
||||||
with:
|
curl --user :${{ secrets.DOCKER_PASSWORD }} -XDELETE \
|
||||||
run: |
|
https://git.madhouse-project.org/api/packages/iocaine/generic/iocaine-binaries/latest
|
||||||
curl --user :${{ secrets.DOCKER_PASSWORD }} -XDELETE \
|
curl --user :${{ secrets.DOCKER_PASSWORD }} \
|
||||||
https://git.madhouse-project.org/api/packages/iocaine/generic/iocaine-binaries/latest
|
--upload-file iocaine-latest.${{ matrix.system }}.zst \
|
||||||
curl --user :${{ secrets.DOCKER_PASSWORD }} \
|
--fail \
|
||||||
--upload-file iocaine-latest.${{ matrix.system }}.zst \
|
https://git.madhouse-project.org/api/packages/iocaine/generic/iocaine-binaries/latest/iocaine-latest.${{ matrix.system }}.zst
|
||||||
--fail \
|
|
||||||
https://git.madhouse-project.org/api/packages/iocaine/generic/iocaine-binaries/latest/iocaine-latest.${{ matrix.system }}.zst
|
|
||||||
|
|
||||||
container:
|
container:
|
||||||
runs-on: nixos-latest
|
runs-on: nixos-latest
|
||||||
|
|
Loading…
Reference in a new issue