chore(ci): update upload-artifact action #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Build project | |
env: | |
CXX: g++-13 | |
run: make | |
- name: Run tests | |
run: make test | |
- name: Upload library as an artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: libmlp.a | |
path: build/libmlp.a |