Skip to content

Commit eb4c19b

Browse files
committed
Updating Github workflows for deprecated versions
1 parent 5f6e048 commit eb4c19b

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/linux-ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,31 +18,31 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
strategy:
2020
matrix:
21-
os: [ubuntu-18.04, ubuntu-20.04]
21+
os: [ubuntu-20.04, ubuntu-22.04]
2222
build_static: [true, false]
2323
download_requirements: [sudo apt install -y -qq gfortran liblapack-dev libmetis-dev libnauty2-dev]
2424
include:
25-
- os: macos-10.15
25+
- os: macos-12
2626
build_static: false
27-
flags: CC=clang OSX=10.15
27+
flags: CC=clang OSX=12
2828
download_requirements: brew install metis bash
29-
- os: macos-10.15
29+
- os: macos-12
3030
build_static: false
31-
flags: CC=gcc-9 CXX=g++-9 OSX=10.15
31+
flags: CC=gcc-11 CXX=g++-11 OSX=12
3232
download_requirements: brew install metis bash
33-
- os: macos-10.15
33+
- os: macos-12
3434
build_static: false
35-
flags: CC=gcc-10 CXX=g++-10 OSX=10.15
35+
flags: CC=gcc-12 CXX=g++-12 OSX=12
3636
download_requirements: brew install metis bash
3737
steps:
3838
- name: Checkout source
39-
uses: actions/checkout@v2
39+
uses: actions/checkout@v3
4040
with:
4141
path: ${{ github.event.repository.name }}
4242
- name: Install required packages from package manager
4343
run: ${{ matrix.download_requirements }}
4444
- name: Checkout coinbrew
45-
uses: actions/checkout@v2
45+
uses: actions/checkout@v3
4646
with:
4747
repository: coin-or/coinbrew
4848
path: coinbrew
@@ -69,7 +69,7 @@ jobs:
6969
cp ${{ github.event.repository.name }}/LICENSE dist/
7070
tar -czvf release.tar.gz -C dist .
7171
- name: Checkout package name generation script
72-
uses: actions/checkout@v2
72+
uses: actions/checkout@v3
7373
with:
7474
repository: coin-or-tools/platform-analysis-tools
7575
path: tools
@@ -84,7 +84,7 @@ jobs:
8484
echo "platform_string=${platform_str}" >> $GITHUB_ENV
8585
- name: Upload Artifact
8686
if: ${{ github.event_name == 'pull_request'}}
87-
uses: actions/upload-artifact@v2
87+
uses: actions/upload-artifact@v3
8888
with:
8989
name: ${{ github.event.repository.name }}-${{ github.head_ref }}-${{ env.platform_string }}.tar.gz
9090
path: release.tar.gz

.github/workflows/windows-ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ jobs:
2929
]
3030
steps:
3131
- name: Checkout source
32-
uses: actions/checkout@v2
32+
uses: actions/checkout@v3
3333
with:
3434
path: ${{ github.event.repository.name }}
3535
- name: Checkout coinbrew
36-
uses: actions/checkout@v2
36+
uses: actions/checkout@v3
3737
with:
3838
repository: coin-or/coinbrew
3939
path: coinbrew
4040
- name: Set up msvc
41-
uses: ilammy/msvc-dev-cmd@v1
4241
if: ${{ matrix.arch == 'msvc' }}
42+
uses: ilammy/msvc-dev-cmd@v1
4343
- name: Set correct host flag and install requirements
4444
run: |
4545
echo "host_flag=--host=${{ matrix.arch }}-w64-mingw32" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
@@ -71,7 +71,7 @@ jobs:
7171
cp ${{ github.event.repository.name }}/LICENSE dist/
7272
shell: msys2 {0}
7373
- name: Upload failed build directory
74-
uses: actions/upload-artifact@v2
74+
uses: actions/upload-artifact@v3
7575
if: failure()
7676
with:
7777
name: ${{ matrix.os}}-{{ matrix.arch }}-debug=${{ matrix.debug }}-failedbuild
@@ -89,7 +89,7 @@ jobs:
8989
if: ${{ matrix.arch != 'msvc' }}
9090
- name: Upload artifact
9191
if: ${{ github.event_name == 'pull_request'}}
92-
uses: actions/upload-artifact@v2
92+
uses: actions/upload-artifact@v3
9393
with:
9494
name: ${{ github.event.repository.name }}-${{ github.head_ref }}-${{ env.package_suffix }}
9595
path: dist

0 commit comments

Comments
 (0)