Skip to content

Commit

Permalink
Upgraded node.js versions in GitHub Actions workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Sep 25, 2024
1 parent 1bed014 commit 3737a46
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
#-------- Info gathering and checks
- name: Set pushed tag
id: set-tag
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand All @@ -37,7 +37,7 @@ jobs:
fi
- name: Determine whether releasing the master branch
id: set-is-master-branch
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand All @@ -53,7 +53,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Determine name of stable branch for pushed tag
id: set-stable-branch
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand All @@ -62,7 +62,7 @@ jobs:
return result
- name: Determine whether releasing stable branch for pushed tag
id: set-is-stable-branch
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
fi
- name: Set update version
id: set-update-version
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand All @@ -115,11 +115,11 @@ jobs:
#-------- Setup of work environment
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Development setup
Expand All @@ -136,14 +136,14 @@ jobs:
# - name: Publish distribution to TestPyPI
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# packages_dir: dist
# packages-dir: dist
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
packages_dir: dist
packages-dir: dist
password: ${{ secrets.PYPI_API_TOKEN }}

#-------- Creation of Github release
Expand All @@ -169,7 +169,7 @@ jobs:
#-------- Creation of stable branch
- name: Create new stable branch when releasing master branch
if: steps.set-is-master-branch.outputs.result == 'true'
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
github.rest.git.createRef({
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
steps:
- name: Set run type (normal, scheduled, release)
id: set-run-type
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
result-encoding: string
script: |
Expand Down
2 changes: 2 additions & 0 deletions changes/noissue.3.fix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Test: Upgraded GitHub actions plugin versions to warnings about using deprecated
node.js version 16.

0 comments on commit 3737a46

Please sign in to comment.