mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-12 15:16:22 +02:00
Split deb to separate task
This commit is contained in:
parent
2d94da50dd
commit
2b05845095
1 changed files with 5 additions and 3 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -131,7 +131,6 @@ jobs:
|
|||
./bin/nix-build-and-cache .#static-${{ matrix.target }}
|
||||
mkdir -p target/release
|
||||
cp -v -f result/bin/conduit target/release
|
||||
direnv exec . cargo deb --no-build --no-strip --output target/debian/${{ matrix.target }}.deb
|
||||
|
||||
- name: Upload static ${{ matrix.target }}
|
||||
uses: actions/upload-artifact@v4
|
||||
|
@ -140,6 +139,10 @@ jobs:
|
|||
path: result/bin/conduit
|
||||
if-no-files-found: error
|
||||
|
||||
- name: Build deb ${{ matrix.target }}
|
||||
run: |
|
||||
direnv exec . cargo deb --no-build --no-strip --output target/debian/${{ matrix.target }}.deb
|
||||
|
||||
- name: Upload deb ${{ matrix.target }}
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
|
@ -189,8 +192,7 @@ jobs:
|
|||
await github.rest.actions.deleteArtifact({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
artifact_id: ${{ steps.get-artifact.outputs.result }},
|
||||
archive_format: 'zip'
|
||||
artifact_id: ${{ steps.get-artifact.outputs.result }}
|
||||
});
|
||||
|
||||
docker-push:
|
||||
|
|
Loading…
Add table
Reference in a new issue