Skip to content

Commit 4b133bb

Browse files
Chiu PeterChiu Peter
authored andcommitted
modify actions/setup-python, actions/checkout, and actions/setup-node to v4 for package publishing
1 parent 17ea0df commit 4b133bb

File tree

5 files changed

+11029
-8134
lines changed

5 files changed

+11029
-8134
lines changed

.github/workflows/publish-npm-manual.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: publish-npm-manual
2-
on:
2+
on:
33
workflow_dispatch:
44
inputs:
55
logLevel:
@@ -8,9 +8,9 @@ on:
88
default: 'warning'
99
type: choice
1010
options:
11-
- info
12-
- warning
13-
- debug
11+
- info
12+
- warning
13+
- debug
1414
tags:
1515
description: 'manual publish'
1616
required: false
@@ -20,14 +20,14 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout code
23-
uses: actions/checkout@v2
23+
uses: actions/checkout@v4
2424
with:
2525
ref: main
2626
- name: Set up Python 3.7
27-
uses: actions/setup-python@v1
27+
uses: actions/setup-python@v4
2828
with:
2929
python-version: 3.7
30-
- uses: actions/setup-node@v1
30+
- uses: actions/setup-node@v4
3131
env:
3232
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3333
with:

.github/workflows/publish-npm.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout code
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v4
1212
with:
1313
ref: main
1414
- name: Set up Python 3.7
15-
uses: actions/setup-python@v1
15+
uses: actions/setup-python@v4
1616
with:
1717
python-version: 3.7
18-
- uses: actions/setup-node@v1
18+
- uses: actions/setup-node@v4
1919
env:
2020
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
2121
with:

0 commit comments

Comments
 (0)