Skip to content

Commit

Permalink
CI: Update actions' version to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuukiy committed Sep 17, 2024
1 parent 9853612 commit 31bbb9a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Fetch tags
run: git fetch --prune --unshallow --tags

- name: Setup Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
echo "VERSION=$(python make\gen_ver_hook.py)" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Upload build artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
with:
name: JavSP-${{ env.VERSION }}-Windows-amd64
path: dist/JavSP.exe
6 changes: 3 additions & 3 deletions .github/workflows/test-basic-funcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
PYTEST_ADDOPTS: "-rA --color=yes --tb=long --showlocals"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
Expand All @@ -53,7 +53,7 @@ jobs:
run: |
pytest unittest/test_func.py
- name: Upload log as artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: JavSP-basic-funcs.log
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-web-funcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
PYTEST_ADDOPTS: "-rA --color=yes --tb=long --showlocals"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install dependencies
Expand All @@ -44,7 +44,7 @@ jobs:
run: |
pytest unittest/test_crawlers.py
- name: Upload log as artifact
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: JavSP-web-funcs.log
Expand Down

0 comments on commit 31bbb9a

Please sign in to comment.