Skip to content

Commit fc4b23b

Browse files
Merge pull request #5 from joergschultzelutter/updates_20_sep_2025
Update to latest GitHub action versions
2 parents a40fd24 + 769a652 commit fc4b23b

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

publish-to-pypi.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Workflow: Extract version from Python file, verify version against release tag, generate PyPi package and
22
# upload content to PyPi Test / Prod
33
# Will only be executed when a new release is being published
4-
# Author : Joerg Schultze-Lutter
4+
# Author : Joerg Schultze-Lutter, 2022
55
#
66
##
77
# This program is free software; you can redistribute it and/or modify
@@ -69,7 +69,7 @@ env:
6969
REGEX_PATTERN: __version__\s*=\s*"(.*)"
7070

7171
# Python version used for building the package
72-
PYTHON_VERSION: '3.8'
72+
PYTHON_VERSION: '3.11'
7373

7474
#
7575
# Job section
@@ -92,7 +92,7 @@ jobs:
9292

9393
steps:
9494
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
95-
- uses: actions/checkout@v4
95+
- uses: actions/checkout@v5
9696

9797
# Read source file
9898
- name: Read source file
@@ -112,7 +112,7 @@ jobs:
112112
# Cancellation will have no immediate effect!!!
113113
- name: Cancel build if version not found
114114
if: ${{ steps.regex.outputs.match == '' }}
115-
uses: andymckay/cancel-action@0.4
115+
uses: andymckay/cancel-action@0.5
116116
# Execute sleep if cancellation was triggered
117117
- name: Sleep if build was cancelled
118118
if: ${{ steps.regex.outputs.match == '' }}
@@ -123,7 +123,7 @@ jobs:
123123
# assigned by Github; only if you tag a release, this value will be 'tag'
124124
- name: Cancel build if Github reference is not equal to tag
125125
if: ${{ github.ref_type != 'tag' }}
126-
uses: andymckay/cancel-action@0.4
126+
uses: andymckay/cancel-action@0.5
127127
# Execute sleep if cancellation was triggered
128128
- name: Sleep if build was cancelled
129129
if: ${{ github.ref_type != 'tag' }}
@@ -133,7 +133,7 @@ jobs:
133133
# Cancel the work flow if assessment is not true
134134
- name: Cancel build if Github refname is not equal to Python version
135135
if: ${{ github.ref_name != steps.regex.outputs.group1 }}
136-
uses: andymckay/cancel-action@0.4
136+
uses: andymckay/cancel-action@0.5
137137
# Execute sleep if cancellation was triggered
138138
- name: Sleep if build was cancelled
139139
if: ${{ github.ref_name != steps.regex.outputs.group1 }}
@@ -159,10 +159,10 @@ jobs:
159159

160160
steps:
161161

162-
- uses: actions/checkout@v4
162+
- uses: actions/checkout@v5
163163
# Set up Python environment
164164
- name: Set up Python
165-
uses: actions/setup-python@v4
165+
uses: actions/setup-python@v6
166166
with:
167167
python-version: '${{ env.PYTHON_VERSION }}'
168168

0 commit comments

Comments
 (0)