π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
It'll need to live in the releases repo, reword accordingly
Manav Rathi3b3d24e9e05b
diff --git a/.github/workflows/desktop-release.yml b/desktop/.github/workflows/desktop-release.ymlsimilarity index 61%rename from .github/workflows/desktop-release.ymlrename to desktop/.github/workflows/desktop-release.ymlindex 60f012b653..cb895fd4de 100644--- a/.github/workflows/desktop-release.yml+++ b/desktop/.github/workflows/desktop-release.yml@@ -1,17 +1,26 @@-name: "Release (photos desktop)"+name: "Release"# This will create a new draft release with public artifacts.## Note that a release will only get created if there is an associated tag# (GitHub releases need a corresponding tag).+#+# The canonical source for this action is in the repository where we keep the+# source code for the Ente Photos desktop app: https://github.com/ente-io/ente+#+# However, it actually lives and runs in the repository that we use for making+# releases: https://github.com/ente-io/photos-desktop+#+# We need two repositories because Electron updater currently doesn't work well+# with monorepos. For more details, see `docs/release.md`.on:- workflow_dispatch: # Allow manually running the actionpush:- # Run when a tag matching the pattern "photosd-v*"" is pushed- # See: [Note: Testing release workflows that are triggered by tags]+ # Run when a tag matching the pattern "v*"" is pushed.+ #+ # See: [Note: Testing release workflows that are triggered by tags].tags:- - "photosd-v*"+ - "v*"jobs:release:@@ -29,6 +38,11 @@ jobs:- name: Checkout codeuses: actions/checkout@v4with:+ # Checkout the tag photosd-v1.x.x from the source code+ # repository when we're invoked for tag v1.x.x on the releases+ # repository.+ repository: ente-io/ente+ ref: photosd-${{ github.ref }}submodules: recursive- name: Setup node@@ -44,7 +58,7 @@ jobs:# Import Apple API key for app notarization on macOSrun: |mkdir -p ~/private_keys/- echo '${{ secrets.APPLE_API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.APPLE_API_KEY_ID }}.p8+ echo '${{ secrets.API_KEY }}' > ~/private_keys/AuthKey_${{ secrets.API_KEY_ID }}.p8- name: Install libarchive-tools for pacman buildif: startsWith(matrix.os, 'ubuntu')@@ -60,13 +74,13 @@ jobs:github_token: ${{ secrets.GITHUB_TOKEN }}# If the commit is tagged with a version (e.g. "v1.0.0"),- # release the app after building+ # release the app after building.release: ${{ startsWith(github.ref, 'refs/tags/v') }}- mac_certs: ${{ secrets.MAC_OS_CERTIFICATE }}- mac_certs_password: ${{ secrets.MAC_OS_CERTIFICATE_PASSWORD }}+ mac_certs: ${{ secrets.MAC_CERTS }}+ mac_certs_password: ${{ secrets.MAC_CERTS_PASSWORD }}env:# macOS notarization API key details- API_KEY_ID: ${{ secrets.APPLE_API_KEY_ID }}- API_KEY_ISSUER_ID: ${{ secrets.APPLE_API_KEY_ISSUER_ID }}+ API_KEY_ID: ${{ secrets.API_KEY_ID }}+ API_KEY_ISSUER_ID: ${{ secrets.API_KEY_ISSUER_ID }}USE_HARD_LINKS: false