fix: remove extra step #33
This file contains 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 version | |
on: | |
push: | |
branches: [alpha, beta, rc] | |
jobs: | |
publish: | |
timeout-minutes: 15 | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout code repository | |
uses: actions/checkout@v3 | |
- name: 'Get Previous tag' | |
id: fromTag | |
uses: "WyriHaximus/github-action-get-previous-tag@v1" | |
- name: Installing python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
- name: Installing poetry | |
uses: abatilo/actions-poetry@v2 | |
with: | |
poetry-version: '1.6.1' | |
- name: Install deps | |
run: poetry install | |
- name: Run Dagger pipeline | |
run: poetry run python ci.py | |
- name: Publish tag | |
run: git push --tags | |
- name: 'Get lastest tag' | |
id: toTag | |
uses: "WyriHaximus/github-action-get-previous-tag@v1" | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
prerelease: true | |
tag_name: ${{ steps.toTag.outputs.tag }} | |
- uses: BobAnkh/auto-generate-changelog@v1.2.5 | |
id: changelog | |
with: | |
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
TYPE: 'feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements' |