Skip to content

windows

windows #2

Workflow file for this run

name: windows
on: workflow_dispatch
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Flutter
uses: subosito/flutter-action@v1
with:
channel: "stable"
- name: Build Windows
run: .\flutter\bin\flutter build windows
- name: Archive Release files
run: |
Compress-Archive -Path ./build/windows/x64/runner/Release/* -DestinationPath ./flexify-windows.zip
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./flexify-windows.zip
asset_name: flexify-windows.zip
asset_content_type: application/zip