Merge pull request #420 from legendu-net/dev #257
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@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Poetry | |
| run: | | |
| curl -sSL https://raw.githubusercontent.com/legendu-net/icon/main/install_icon.sh | sudo bash - | |
| icon pt -ic | |
| - name: Build Package | |
| run: | | |
| ~/.local/bin/poetry 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/* |