feat: workspace png of nodes and connection only #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Windows EXE | |
| on: [push, workflow_dispatch] | |
| jobs: | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Create .env file | |
| run: | | |
| echo "SUPABASE_URL=${{ secrets.SUPABASE_URL }}" > .env | |
| echo "SUPABASE_KEY=${{ secrets.SUPABASE_KEY }}" >> .env | |
| type .env # For debugging (optional) | |
| - name: Setup Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| channel: stable | |
| cache: true | |
| - name: Install dependencies | |
| run: flutter pub get | |
| - name: Build Windows EXE | |
| run: flutter build windows --release | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: WindowsExecutable | |
| path: build/windows/runner/release/ | |
| retention-days: 7 # Optional: Set artifact retention period |