Skip to content

Commit

Permalink
Updated github actions version from v2 to v4 to upload/download artif…
Browse files Browse the repository at this point in the history
…acts

Signed-off-by: spagadar <srikanth.pagadarai@analog.com>
  • Loading branch information
SrikanthPagadarai committed Oct 14, 2024
1 parent 5d88317 commit e8ef5aa
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-pypi-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand All @@ -32,9 +32,9 @@ jobs:
if: github.ref == 'refs/heads/main'

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
ctest -V -C Release
- name: Archive generated DLLs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: DLLs
path: src\Release\
Expand All @@ -63,9 +63,9 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
shell: cmd

- name: Archive Windows exe installer
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: EXE-Installer
path: C:\genalyzer-setup.exe
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
container:
image: ${{ matrix.images }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand All @@ -46,7 +46,7 @@ jobs:
cp bindings/matlab/genalyzer.m libs/
- name: Archive generated SOs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.label }}-Build
path: libs/
Expand All @@ -61,7 +61,7 @@ jobs:
# container:
# image: ${{ matrix.images }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v4
# - name: Install dependencies
# run: |
# bash ./.github/scripts/install_dependencies_rhel.sh
Expand All @@ -82,7 +82,7 @@ jobs:
# cp bindings/matlab/genalyzer.m libs/

# - name: Archive generated SOs
# uses: actions/upload-artifact@v2
# uses: actions/upload-artifact@v4
# with:
# name: RHEL_7-Build
# path: libs/
Expand All @@ -91,9 +91,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand All @@ -119,9 +119,9 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8

Expand All @@ -143,9 +143,9 @@ jobs:
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down

0 comments on commit e8ef5aa

Please sign in to comment.