Skip to content

Free fork of NotProton: Windows Steam games in Mac Steam, on CodeWeavers' Wine and Apple's Game Porting Toolkit

ci: package and release Bridgeplay.app as Bridgeplay.zip

raymondchins08f9d651b6dc
diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml
index 5dfec97..4638bf8 100644
--- a/.github/workflows/app.yml
+++ b/.github/workflows/app.yml
@@ -143,10 +143,10 @@ jobs:
- name: Package the app bundle
run: |
mkdir -p out/artifact
- ditto -c -k --keepParent out/NotProton.app out/artifact/NotProton.zip
+ ditto -c -k --keepParent out/Bridgeplay.app out/artifact/Bridgeplay.zip
- name: Upload the app bundle
uses: actions/upload-artifact@v4
with:
- name: NotProton
+ name: Bridgeplay
path: out/artifact
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index d50df52..dad541f 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,18 +28,18 @@ jobs:
- uses: actions/download-artifact@v4
with:
- name: NotProton
+ name: Bridgeplay
path: release
- name: Verify the archive
env:
VERSION: ${{ inputs.version }}
run: |
- ditto -x -k release/NotProton.zip release/extracted
- codesign --verify --strict release/extracted/NotProton.app
- actual=$(/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' release/extracted/NotProton.app/Contents/Info.plist)
+ ditto -x -k release/Bridgeplay.zip release/extracted
+ codesign --verify --strict release/extracted/Bridgeplay.app
+ actual=$(/usr/libexec/PlistBuddy -c 'Print :CFBundleShortVersionString' release/extracted/Bridgeplay.app/Contents/Info.plist)
test "$actual" = "$VERSION"
- make -s mincheck APP_BUNDLE=release/extracted/NotProton.app
+ make -s mincheck APP_BUNDLE=release/extracted/Bridgeplay.app
- name: Resolve Sparkle tools
run: swift package resolve --package-path app
@@ -51,7 +51,7 @@ jobs:
SPARKLE_PRIVATE_KEY: ${{ secrets.SPARKLE_PRIVATE_KEY }}
VERSION: ${{ inputs.version }}
run: |
- gh api markdown -f text="$RELEASE_NOTES" -f mode=gfm -f context="$GITHUB_REPOSITORY" > release/NotProton.html
+ gh api markdown -f text="$RELEASE_NOTES" -f mode=gfm -f context="$GITHUB_REPOSITORY" > release/Bridgeplay.html
printf '%s' "$SPARKLE_PRIVATE_KEY" | app/.build/artifacts/sparkle/Sparkle/bin/generate_appcast \
--ed-key-file - \
--download-url-prefix "https://github.com/$GITHUB_REPOSITORY/releases/download/v$VERSION/" \
@@ -70,7 +70,7 @@ jobs:
git push --force origin "v$VERSION"
gh release delete "v$VERSION" --yes || true
gh release create "v$VERSION" \
- release/NotProton.zip \
+ release/Bridgeplay.zip \
release/appcast.xml \
--title "$VERSION" \
--notes "$RELEASE_NOTES"