Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Github actions workflows to use the latests versions actions #22

Merged
merged 5 commits into from
Aug 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 16 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
# Run each Sun
- cron: '0 0 * * 0'
push:
branches:
- main
pull_request:
workflow_dispatch:

Expand All @@ -17,13 +19,13 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4

- name: Setup Environment
id: install-boost
uses: MarkusJx/install-boost@v2.3.1
uses: MarkusJx/install-boost@v2.4.5
with:
boost_version: 1.79.0
boost_version: 1.85.0
platform_version: 2022
toolset: msvc

Expand All @@ -40,7 +42,7 @@ jobs:
ctest

- name: Upload artifacts
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v4
with:
name: win-numero
path: build/${{env.BUILD_TYPE}}/numero.exe
Expand All @@ -49,13 +51,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4

- name: Setup Environment
id: install-boost
uses: MarkusJx/install-boost@v2.3.1
uses: MarkusJx/install-boost@v2.4.5
with:
boost_version: 1.79.0
boost_version: 1.85.0
platform_version: 20.04

- name: Build
Expand All @@ -71,7 +73,7 @@ jobs:
ctest

- name: Upload artifacts
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v4
with:
name: linux-numero
path: build/numero
Expand All @@ -80,14 +82,15 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3.0.2
- uses: actions/checkout@v4

- name: Setup Environment
id: install-boost
uses: MarkusJx/install-boost@v2.3.1
uses: MarkusJx/install-boost@v2.4.5
with:
boost_version: 1.79.0
platform_version: 11
boost_version: 1.85.0
platform_version: 14
arch: aarch64

- name: Build
env:
Expand All @@ -102,7 +105,7 @@ jobs:
ctest

- name: Upload artifacts
uses: actions/upload-artifact@v3.1.0
uses: actions/upload-artifact@v4
with:
name: mac-numero
path: build/numero