Adding support for modifying maximum sentence length when outputting … #7
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: Release | |
| on: | |
| push: | |
| tags: | |
| - "*.*.*" | |
| jobs: | |
| release: | |
| runs-on: macos-26 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Build | |
| run: swift build -c release --arch arm64 --arch x86_64 --product yap | |
| - name: Compress | |
| run: tar -czf yap-${{ github.ref_name }}.tar.gz -C .build/apple/Products/Release yap | |
| - name: Release | |
| run: gh release create ${{ github.ref_name }} yap-${{ github.ref_name }}.tar.gz | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| homebrew: | |
| needs: release | |
| name: Bump Homebrew formula | |
| runs-on: ubuntu-latest | |
| environment: Env | |
| steps: | |
| - uses: mislav/bump-homebrew-formula-action@v3 | |
| with: | |
| homebrew-tap: finnvoor/homebrew-tools | |
| download-url: https://github.com/finnvoor/yap/releases/download/${{ github.ref_name }}/yap-${{ github.ref_name }}.tar.gz | |
| env: | |
| COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }} |