CCExtractor GUI v0.7.0 #12
Workflow file for this run
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: Upload releases | |
| on: | |
| release: | |
| types: | |
| - created | |
| jobs: | |
| build_windows: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Install Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.27.2' | |
| channel: 'stable' | |
| - name: Build Windows app | |
| run: flutter build windows | |
| - name: Copy VC redistributables | |
| run: | | |
| Copy-Item (vswhere -latest -find 'VC\Redist\MSVC\*\x64\*\msvcp140.dll') . | |
| Copy-Item (vswhere -latest -find 'VC\Redist\MSVC\*\x64\*\vcruntime140.dll') . | |
| Copy-Item (vswhere -latest -find 'VC\Redist\MSVC\*\x64\*\vcruntime140_1.dll') . | |
| working-directory: ./build/windows/x64/runner/Release | |
| - name: Create zip | |
| uses: papeloto/action-zip@v1 | |
| with: | |
| files: ./build/windows/x64/runner/Release/ | |
| dest: ./windows.zip | |
| - name: Upload as asset | |
| uses: AButler/upload-release-assets@v2.0 | |
| with: | |
| files: './windows.zip' | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| build_linux: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Install Flutter | |
| uses: subosito/flutter-action@v2 | |
| with: | |
| flutter-version: '3.27.2' | |
| channel: 'stable' | |
| - name: Install Linux build dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-dev | |
| - name: Build Linux app | |
| run: flutter build linux | |
| - name: Create zip | |
| uses: papeloto/action-zip@v1 | |
| with: | |
| files: ./build/linux/x64/release/bundle/ | |
| dest: ./linux.zip | |
| - name: Upload as asset | |
| uses: AButler/upload-release-assets@v2.0 | |
| with: | |
| files: './linux.zip' | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} |