refactor: separate responsibilities into dedicated modules #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: Release | |
| on: | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| ci: | |
| uses: ./.github/workflows/ci.yml | |
| release: | |
| needs: ci | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: googleapis/release-please-action@v4 | |
| id: release | |
| with: | |
| config-file: release-please-config.json | |
| manifest-file: .release-please-manifest.json | |
| - uses: actions/checkout@v4 | |
| if: ${{ steps.release.outputs.release_created }} | |
| - uses: actions/setup-python@v5 | |
| if: ${{ steps.release.outputs.release_created }} | |
| with: | |
| python-version: "3.x" | |
| - name: Build FAP | |
| if: ${{ steps.release.outputs.release_created }} | |
| run: | | |
| pip install ufbt | |
| ufbt | |
| - name: Upload FAP to release | |
| if: ${{ steps.release.outputs.release_created }} | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: gh release upload ${{ steps.release.outputs.tag_name }} dist/sub_dup_finder.fap |