Merge pull request #441 from legendu-net/dev #266
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: pre-release | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| pre-release: | |
| name: Pre Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install uv | |
| run: | | |
| curl -LsSf https://astral.sh/uv/install.sh | sh | |
| - name: Build Package | |
| run: | | |
| ~/.local/bin/uv build | |
| ls -lha dist/ | |
| - uses: "marvinpinto/action-automatic-releases@latest" | |
| with: | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| automatic_release_tag: next | |
| prerelease: true | |
| title: "Development Build" | |
| files: | | |
| dist/* |