Set --manifest-path.

pull/1/head
tommie 2023-02-17 15:29:35 +01:00 committed by GitHub
parent bb37f269f9
commit 49e40f0e43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,3 @@
# This is a basic workflow to help you get started with Actions
name: Update Repository name: Update Repository
# Controls when the workflow will run # Controls when the workflow will run
@ -34,6 +32,7 @@ jobs:
read release tarball_url read release tarball_url
wget -O- "$tarball_url" | tar xz wget -O- "$tarball_url" | tar xz
echo "innernet_release=$release" >>"$GITHUB_OUTPUT" echo "innernet_release=$release" >>"$GITHUB_OUTPUT"
mv tonarino-innernet-* tonarino-innernet
) )
- name: Install Rust - name: Install Rust
@ -44,6 +43,7 @@ jobs:
override: true override: true
- name: Install cargo-deb - name: Install cargo-deb
working-directory: ./tonarino-innernet
run: | run: |
type -p cargo-deb || cargo install cargo-deb type -p cargo-deb || cargo install cargo-deb
@ -54,19 +54,19 @@ jobs:
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: deb command: deb
args: -p client args: --manifest-path tonarino-innernet/Cargo.toml -p client
- name: Build Server DEB - name: Build Server DEB
uses: actions-rs/cargo@v1 uses: actions-rs/cargo@v1
with: with:
command: deb command: deb
args: -p server args: --manifest-path tonarino-innernet/Cargo.toml -p server
- name: Upload DEBs - name: Upload DEBs
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2
with: with:
name: deb-ubuntu-latest name: deb-ubuntu-latest
path: target/debian/*.deb path: tonarino-innernet/target/debian/*.deb
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest