mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 00:12:09 +03:00
macOS release fixes
This commit is contained in:
parent
33b290a78f
commit
0503297d2f
5
.github/workflows/macos.yml
vendored
5
.github/workflows/macos.yml
vendored
@ -56,6 +56,7 @@ jobs:
|
||||
brew install create-dmg
|
||||
mkdir source_folder
|
||||
cp -R build/macos/Build/Products/Release/"Yubico Authenticator.app" source_folder
|
||||
cp resources/icons/dmg-background.png .
|
||||
sh create-dmg.sh
|
||||
|
||||
- name: Rename and archive app bundle
|
||||
@ -63,7 +64,9 @@ jobs:
|
||||
export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3)
|
||||
mkdir deploy
|
||||
mv yubioath-desktop.dmg deploy
|
||||
tar -czf deploy/yubioath-desktop-${REF}.app.tar.gz -C build/macos/Build/Products/Release "Yubico Authenticator.app"
|
||||
mv build/macos/Build/Products/Release/"Yubico Authenticator.app" deploy
|
||||
mv create-dmg.sh deploy
|
||||
mv resources/icons/dmg-background.png deploy
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-artifact@v3
|
||||
|
@ -1,6 +1,6 @@
|
||||
create-dmg \
|
||||
--volname "Yubico Authenticator" \
|
||||
--background "resources/icons/dmg-background.png" \
|
||||
--background "dmg-background.png" \
|
||||
--window-pos 200 120 \
|
||||
--window-size 800 400 \
|
||||
--icon-size 100 \
|
||||
|
Loading…
Reference in New Issue
Block a user