mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 09:18:29 +00:00
feat: update snap packaging paths and improve asset configuration in Cargo.toml
This commit is contained in:
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -205,7 +205,8 @@ jobs:
|
||||
if: matrix.package_type == 'snap'
|
||||
run: |
|
||||
cargo build --release
|
||||
mkdir -p dist && cp target/release/dcr dist/
|
||||
mkdir -p packaging/snap/dist
|
||||
cp target/release/dcr packaging/snap/dist/
|
||||
|
||||
- name: Snapcraft Build Action
|
||||
if: matrix.package_type == 'snap'
|
||||
@@ -371,7 +372,8 @@ jobs:
|
||||
with:
|
||||
usesh: true
|
||||
run: |
|
||||
pkg install -y rust perl gmake
|
||||
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
|
||||
pkg install -y rust perl5 gmake
|
||||
cargo build --release
|
||||
|
||||
- name: Prepare FreeBSD Artifact
|
||||
@@ -388,6 +390,7 @@ jobs:
|
||||
with:
|
||||
usesh: true
|
||||
run: |
|
||||
export PATH="/usr/local/bin:$PATH"
|
||||
pkg_add rust perl gmake
|
||||
cargo build --release
|
||||
|
||||
@@ -405,6 +408,7 @@ jobs:
|
||||
with:
|
||||
usesh: true
|
||||
run: |
|
||||
export PATH="/usr/pkg/bin:/usr/pkg/sbin:$PATH"
|
||||
pkgin -y install rust perl gmake
|
||||
cargo build --release
|
||||
|
||||
|
||||
Reference in New Issue
Block a user