Use non-modal dialog for settings #5
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 | |
| on: | |
| push: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| release: | |
| types: [published] | |
| permissions: | |
| contents: write # needed for release upload | |
| jobs: | |
| build: | |
| name: Build against fooyin | |
| runs-on: ubuntu-latest | |
| container: archlinux:latest | |
| steps: | |
| - name: Dependencies | |
| run: | | |
| pacman -Syu --noconfirm --needed \ | |
| base-devel \ | |
| cmake \ | |
| git \ | |
| ninja \ | |
| fooyin | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: recursive | |
| - name: Configure | |
| run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release | |
| - name: Build | |
| run: cmake --build build | |
| - name: Upload artifact | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: fooyin-plugin-libvgm | |
| path: build/fyplugin_vgminput.so | |
| if-no-files-found: error | |
| attach: | |
| name: Attach to release | |
| if: github.event_name == 'release' && github.event.action == 'published' | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Download artifact | |
| uses: actions/download-artifact@v7 | |
| with: | |
| name: fooyin-plugin-libvgm | |
| path: ./artifacts | |
| - name: Upload artifact to release | |
| uses: svenstaro/upload-release-action@v2 | |
| with: | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| tag: ${{ github.event.release.tag_name }} | |
| file: ./artifacts/fyplugin_vgminput.so | |
| overwrite: true |