Skip to content

Commit df513c8

Browse files
authored
Update deprecated CI syntax (#866)
1 parent 877ddf8 commit df513c8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/codspeed.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111

1212
jobs:
1313
benchmarks:
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-22.04
1515
steps:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-python@v3
@@ -21,7 +21,7 @@ jobs:
2121
- name: Get full Python version
2222
id: full-python-version
2323
run: |
24-
echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
24+
echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT
2525
2626
- name: Install poetry
2727
run: |

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
id: check-version
129129
run: |
130130
[[ "${GITHUB_REF#refs/tags/}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] \
131-
|| echo ::set-output name=prerelease::true
131+
|| echo prerelease=true >> $GITHUB_OUTPUT
132132
133133
- name: Create Release
134134
uses: ncipollo/release-action@v1

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Get full Python version
5151
id: full-python-version
5252
run: |
53-
echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
53+
echo version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))") >> $GITHUB_OUTPUT
5454
5555
- name: Install poetry
5656
run: |

0 commit comments

Comments
 (0)