Browse Source

Temporarily disable the build steps

Manav Rathi 1 year ago
parent
commit
9af7bf3cd0
1 changed files with 13 additions and 0 deletions
  1. 13 0
      .github/workflows/auth-release.yml

+ 13 - 0
.github/workflows/auth-release.yml

@@ -155,6 +155,8 @@ jobs:
               run: mkdir artifacts
               run: mkdir artifacts
 
 
             - name: Build Windows installer
             - name: Build Windows installer
+              # Temporarily disable desktop builds
+              if: false
               run: |
               run: |
                   flutter config --enable-windows-desktop
                   flutter config --enable-windows-desktop
                   dart pub global activate flutter_distributor
                   dart pub global activate flutter_distributor
@@ -163,9 +165,13 @@ jobs:
                   cp dist/**/ente_auth-*-windows-setup.exe artifacts/ente-${{ github.ref_name }}-installer.exe
                   cp dist/**/ente_auth-*-windows-setup.exe artifacts/ente-${{ github.ref_name }}-installer.exe
 
 
             - name: Retain Windows EXE and DLLs
             - name: Retain Windows EXE and DLLs
+              # Temporarily disable desktop builds
+              if: false
               run: cp -r build/windows/x64/runner/Release ente-${{ github.ref_name }}-windows
               run: cp -r build/windows/x64/runner/Release ente-${{ github.ref_name }}-windows
 
 
             - name: Code Sign for Windows
             - name: Code Sign for Windows
+              # Temporarily disable desktop builds
+              if: false
               uses: dlemstra/code-sign-action@v1
               uses: dlemstra/code-sign-action@v1
               with:
               with:
                   certificate: "${{ secrets.WINDOWS_CERTIFICATE }}"
                   certificate: "${{ secrets.WINDOWS_CERTIFICATE }}"
@@ -175,8 +181,15 @@ jobs:
                       auth/ente-${{ github.ref_name }}-windows/auth.exe
                       auth/ente-${{ github.ref_name }}-windows/auth.exe
 
 
             - name: Create a Windows ZIP
             - name: Create a Windows ZIP
+              # Temporarily disable desktop builds
+              if: false
               run: tar.exe -a -c -f auth/artifacts/ente-${{ github.ref_name }}-windows.zip auth/ente-${{ github.ref_name }}-windows
               run: tar.exe -a -c -f auth/artifacts/ente-${{ github.ref_name }}-windows.zip auth/ente-${{ github.ref_name }}-windows
 
 
+            - name: Temporary action
+              # TODO: Remove me when desktop builds are enabled
+              if: true
+              run: echo test > artifacts/example.txt
+
             - name: Generate checksums
             - name: Generate checksums
               run: sha256sum artifacts/ente-* > artifacts/sha256sum-win
               run: sha256sum artifacts/ente-* > artifacts/sha256sum-win