Skip to content

Commit 56c58bd

Browse files
committed
chore: change actions to compile plumesign
1 parent e8e820d commit 56c58bd

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414

1515
env:
1616
BINARY_NAME: plumeimpactor
17+
BINARY_NAME_CLI: plumesign
1718
BUNDLE_NAME: Impactor
1819

1920
jobs:
@@ -55,7 +56,9 @@ jobs:
5556
mkdir -p build/out
5657
5758
- name: Build Binary
58-
run: cargo build --bin ${{ env.BINARY_NAME }} --release
59+
run: |
60+
cargo build --workspace --bins --locked --release
61+
cp target/release/${{ env.BINARY_NAME_CLI }} build/${{ env.BINARY_NAME_CLI }}-linux-${{ matrix.arch }}
5962
6063
- name: Generate Runtime Metadata
6164
run: |
@@ -116,15 +119,16 @@ jobs:
116119
117120
- name: Build & Bundle (Windows)
118121
run: |
119-
cargo build --bin ${{ env.BINARY_NAME }} --release
122+
cargo build --workspace --bins --locked --release
120123
cp target/release/${{ env.BINARY_NAME }}.exe build/nsis
124+
cp target/release/${{ env.BINARY_NAME_CLI }}.exe build/out/${{ env.BINARY_NAME_CLI }}-windows-x86_64.exe
121125
122126
- name: Create NSIS Installer
123127
run: |
124128
mv package/windows/* build/nsis/
125129
choco install nsis.portable
126130
makensis build/nsis/installer.nsi
127-
mv build/nsis/PlumeInstaller.exe build/out/${{ env.BINARY_NAME }}-setup.exe
131+
mv build/nsis/PlumeInstaller.exe build/out/${{ env.BUNDLE_NAME }}-x86_64-setup.exe
128132
129133
- name: Upload Bundles
130134
uses: actions/upload-artifact@v4
@@ -162,14 +166,15 @@ jobs:
162166
run: |
163167
cargo build --bin ${{ env.BINARY_NAME }} --release --target ${{ matrix.target }}
164168
strip target/${{ matrix.target }}/release/${{ env.BINARY_NAME }}
165-
169+
strip target/${{ matrix.target }}/release/${{ env.BINARY_NAME_CLI }}
166170
cp target/${{ matrix.target }}/release/${{ env.BINARY_NAME }} build/out/${{ env.BINARY_NAME }}-${{ matrix.arch }}
171+
cp target/${{ matrix.target }}/release/${{ env.BINARY_NAME_CLI }} build/out/${{ env.BINARY_NAME_CLI }}-macos-${{ matrix.arch }}
167172
168173
- name: Upload ${{ matrix.arch }} Slice
169174
uses: actions/upload-artifact@v4
170175
with:
171176
name: ${{ env.BINARY_NAME }}-macos-slice-${{ matrix.arch }}
172-
path: build/out/${{ env.BINARY_NAME }}-${{ matrix.arch }}
177+
path: build/out/*
173178

174179
build-macos-universal:
175180
runs-on: macos-latest

crates/utils/src/signer.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ impl Signer {
129129
}
130130

131131
if self.options.features.support_liquid_glass {
132+
bundle.set_info_plist_key("UIDesignRequiresCompatibility", false)?;
133+
132134
let executable_name = bundle.get_executable()
133135
.ok_or(Error::BundleInfoPlistMissing)?;
134136

0 commit comments

Comments
 (0)