Skip to content

Commit

Permalink
fix_GitHub_Actions
Browse files Browse the repository at this point in the history
Updated Actions:
- "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 1, 2024
1 parent da6f0ed commit 21c3c91
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build_XSTools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 @@ -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 @@ -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 @@ -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

0 comments on commit 21c3c91

Please sign in to comment.