Skip to content

Commit

Permalink
fix_GitHub_Actions (#3865)
Browse files Browse the repository at this point in the history
Updated:
- "checkout" to version 4
- "setup-python" to version 5 
- "upload-artifact" to version 4
- "download-artifact" to version 4
- "cache" to version 4
  • Loading branch information
ya4ept committed Jun 2, 2024
1 parent 2fca822 commit 7d4e328
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/build_XSTools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: GIT checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# setup matrix:
# - windows-2019 + python 2.7.18 x86 + strawberry perl 5.12 x86 + strawberry g++ x86
Expand All @@ -58,15 +58,15 @@ jobs:

- name: (Windows 2022) Setup python ${{ matrix.python }} ${{ matrix.architecture }}
if: matrix.os == 'windows-2022'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.architecture }}

- name: (Windows 2019) Check the Python2 cache
if: matrix.os == 'windows-2019'
id: cache-python2
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: c:\python27
key: ${{ runner.os }}-python-${{ matrix.python }}
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Check the Strawberry cache
id: cache-strawberry
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: c:\Strawberry
key: ${{ runner.os }}-strawberry-${{ matrix.perl }}
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
####################

- name: Making artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: XSTools_${{ matrix.os }}_perl-${{ matrix.perl }}${{ matrix.architecture }}
path: |
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:

steps:
- name: GIT checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

########################
# preparing Windows OS #
Expand All @@ -235,7 +235,7 @@ jobs:
- name: Check the Strawberry cache
id: cache-strawberry
if: runner.os == 'Windows'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: c:\Strawberry
key: ${{ runner.os }}-strawberry-${{ matrix.perl }}
Expand All @@ -256,7 +256,7 @@ jobs:
perl --version
- name: Restoring XTools from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: XSTools_${{ matrix.os }}_perl-${{ matrix.perl }}${{ matrix.architecture }}

Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:

steps:
- name: GIT checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# setup matrix:
# - ubuntu-20.04 + python 2.7.18 x64 + perl 5.12 x64
Expand All @@ -323,7 +323,7 @@ jobs:

- name: (Ubuntu-22.04) Setup python ${{ matrix.python }} ${{ matrix.architecture }}
if: matrix.os == 'ubuntu-22.04'
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
architecture: ${{ matrix.architecture }}
Expand Down Expand Up @@ -390,7 +390,7 @@ jobs:
####################

- name: Making artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: XSTools_${{ matrix.os }}_perl-${{ matrix.perl }}${{ matrix.architecture }}
path: |
Expand Down Expand Up @@ -421,7 +421,7 @@ jobs:

steps:
- name: GIT checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

######################
# preparing Linux OS #
Expand All @@ -442,7 +442,7 @@ jobs:
perl --version
- name: Restoring XTools from artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: XSTools_${{ matrix.os }}_perl-${{ matrix.perl }}${{ matrix.architecture }}

Expand Down Expand Up @@ -483,7 +483,7 @@ jobs:

steps:
- name: GIT checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: run "makedist.sh --help"
shell: bash
Expand Down

0 comments on commit 7d4e328

Please sign in to comment.