This repository was archived by the owner on Feb 26, 2026. It is now read-only.
テキスト入力形式のクイズシステム追加 (#112) #26
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: demo-build | |
| # on: | |
| # pull_request: | |
| # types: | |
| # - closed | |
| # jobs: | |
| # build: | |
| # if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' | |
| # strategy: | |
| # matrix: | |
| # include: | |
| # - os: windows-latest | |
| # artifact: for-win.zip | |
| # - os: macos-latest | |
| # artifact: for-mac.zip | |
| # runs-on: ${{ matrix.os }} | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: actions/setup-python@v5 | |
| # with: | |
| # python-version: "3.13" | |
| # - run: pip install -r requirements.txt | |
| # - if: matrix.os == 'windows-latest' | |
| # shell: powershell | |
| # run: | | |
| # pyinstaller --onefile --windowed --add-data "assets;assets" src\main.py | |
| # $dest = "..\for-win" | |
| # if (-Not (Test-Path $dest)) { | |
| # New-Item -ItemType Directory -Path $dest | Out-Null | |
| # } | |
| # Remove-Item "$dest\main.exe" -Force -ErrorAction SilentlyContinue | |
| # Remove-Item "$dest\LICENSE.txt" -Force -ErrorAction SilentlyContinue | |
| # Copy-Item ".\dist\main.exe" -Destination $dest | |
| # Copy-Item ".\LICENSE" -Destination "$dest\LICENSE.txt" | |
| # if (Test-Path "..\for-win.zip") { | |
| # Remove-Item "..\for-win.zip" -Force | |
| # } | |
| # Compress-Archive -Path $dest -DestinationPath "..\for-win.zip" | |
| # - if: matrix.os == 'macos-latest' | |
| # shell: bash | |
| # run: | | |
| # pyinstaller src/main.py --windowed --onedir --add-data "assets:assets" --noconfirm | |
| # mkdir -p ../for-mac | |
| # rm -rf ../for-mac/main.app | |
| # cp -R dist/main.app ../for-mac/ | |
| # cp LICENSE ../for-mac/LICENSE.txt | |
| # rm -f ../for-mac.zip | |
| # cd .. && zip -r for-mac.zip for-mac | |
| # - uses: softprops/action-gh-release@v2 | |
| # with: | |
| # tag_name: demo | |
| # name: デモ版 | |
| # files: ../${{ matrix.artifact }} | |
| # env: | |
| # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |