Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
types: [opened, synchronize]
branches:
- main
- dev
workflow_call:
workflow_dispatch:
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on:
push:
branches:
- main
pull_request:
types: [opened, synchronize]
branches:
- main
workflow_dispatch:

jobs:
Expand All @@ -33,13 +29,13 @@ jobs:
- name: Get version from pyproject.toml
id: get_version
run: |
echo ::set-output name=VERSION::$(poetry version -s)
echo "VERSION=$(poetry version -s)" >> $GITHUB_OUTPUT

- name: Get latest release version
id: get_latest_release
run: |
latest_release=$(curl -s https://api.github.com/repos/${{ github.repository }}/releases/latest | jq -r .tag_name)
echo ::set-output name=LATEST_VERSION::${latest_release#v}
echo "LATEST_VERSION=${latest_release#v}" >> $GITHUB_OUTPUT

- name: Compare versions
run: |
Expand Down
Loading