@@ -13,37 +13,37 @@ jobs:
13
13
uses : ./.github/workflows/ci.yaml
14
14
secrets : inherit
15
15
16
- check_version :
17
- runs-on : ubuntu-latest
18
- steps :
19
- - uses : actions/checkout@v4
20
- - name : check tag version == pyproject.version
21
- id : version
22
- run : |
23
- pip install toml-cli
24
- PROJECT_VERSION=$(toml get --toml-path pyproject.toml project.version)
25
- TAG=$(git describe HEAD --tags --abbrev=0)
26
- echo TAG: $TAG
27
- echo "PROJECT_VERSION: $PROJECT_VERSION"
28
- echo "project_version=$PROJECT_VERSION" >> $GITHUB_OUTPUT
29
- if [[ "$TAG" != "v$PROJECT_VERSION" ]]; then exit 1; fi
30
- - name : Check tag version > pypi version
31
- uses : maybe-hello-world/pyproject-check-version@v4
32
- id : versioncheck
33
- with :
34
- pyproject-path : " ./pyproject.toml"
35
- test-regex : ' [0-9]+(\\.[0-9]+)*([a-z]+[0-9]+)?(\\.post[0-9]+)?(\\.dev[0-9]+)?'
36
- - name : check output
37
- run : |
38
- echo "Output: ${{ steps.versioncheck.outputs.local_version_is_higher }}" # 'true' or 'false
39
- echo "Local version: ${{ steps.versioncheck.outputs.local_version }}" # e.g., 0.1.1
40
- echo "Public version: ${{ steps.versioncheck.outputs.public_version }}" # e.g., 0.1.0
16
+ # check_version:
17
+ # runs-on: ubuntu-latest
18
+ # steps:
19
+ # - uses: actions/checkout@v4
20
+ # - name: check tag version == pyproject.version
21
+ # id: version
22
+ # run: |
23
+ # pip install toml-cli
24
+ # PROJECT_VERSION=$(toml get --toml-path pyproject.toml project.version)
25
+ # TAG=$(git describe HEAD --tags --abbrev=0)
26
+ # echo TAG: $TAG
27
+ # echo "PROJECT_VERSION: $PROJECT_VERSION"
28
+ # echo "project_version=$PROJECT_VERSION" >> $GITHUB_OUTPUT
29
+ # if [[ "$TAG" != "v$PROJECT_VERSION" ]]; then exit 1; fi
30
+ # - name: Check tag version > pypi version
31
+ # uses: maybe-hello-world/pyproject-check-version@v4
32
+ # id: versioncheck
33
+ # with:
34
+ # pyproject-path: "./pyproject.toml"
35
+ # test-regex: '[0-9]+(\\.[0-9]+)*([a-z]+[0-9]+)?(\\.post[0-9]+)?(\\.dev[0-9]+)?'
36
+ # - name: check output
37
+ # run: |
38
+ # echo "Output: ${{ steps.versioncheck.outputs.local_version_is_higher }}" # 'true' or 'false
39
+ # echo "Local version: ${{ steps.versioncheck.outputs.local_version }}" # e.g., 0.1.1
40
+ # echo "Public version: ${{ steps.versioncheck.outputs.public_version }}" # e.g., 0.1.0
41
41
42
42
build :
43
43
runs-on : ubuntu-latest
44
44
needs :
45
45
- test
46
- - check_version
46
+ # - check_version
47
47
strategy :
48
48
matrix :
49
49
python-version :
0 commit comments