mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-12 17:06:24 +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 }}
|
./bin/nix-build-and-cache .#static-${{ matrix.target }}
|
||||||
mkdir -p target/release
|
mkdir -p target/release
|
||||||
cp -v -f result/bin/conduit 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 }}
|
- name: Upload static ${{ matrix.target }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
@ -140,6 +139,10 @@ jobs:
|
||||||
path: result/bin/conduit
|
path: result/bin/conduit
|
||||||
if-no-files-found: error
|
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 }}
|
- name: Upload deb ${{ matrix.target }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
@ -189,8 +192,7 @@ jobs:
|
||||||
await github.rest.actions.deleteArtifact({
|
await github.rest.actions.deleteArtifact({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
artifact_id: ${{ steps.get-artifact.outputs.result }},
|
artifact_id: ${{ steps.get-artifact.outputs.result }}
|
||||||
archive_format: 'zip'
|
|
||||||
});
|
});
|
||||||
|
|
||||||
docker-push:
|
docker-push:
|
||||||
|
|
Loading…
Add table
Reference in a new issue