Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gares authored Jul 30, 2024
1 parent f27441e commit 1ecf0ae
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
git config --global core.eol lf
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

# Environment setup ###########################################################
#
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:
# Artifacts 1 ################################################################

- name: Save binary
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: elpi-${{ matrix.ocaml-compiler }}-${{ runner.os }}
path: elpi*-${{ matrix.ocaml-compiler }}-${{ runner.os }}.exe
Expand All @@ -125,15 +125,15 @@ jobs:
# Artifacts 2 ################################################################

- name: Save logs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: .logs-${{ matrix.ocaml-compiler }}-${{ runner.os }}
path: _log
retention-days: 1

- name: Save benchmarking data
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: always()
with:
name: .benchmark-${{ matrix.ocaml-compiler }}-${{ runner.os }}
Expand All @@ -150,15 +150,15 @@ jobs:
fail-fast: false

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install extra stuff
run: |
sudo apt-get update
sudo apt-get install lua5.1 gnuplot
- name: Download all artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4

- name: Plotting aggregated data
run: |
Expand All @@ -167,7 +167,7 @@ jobs:
gnuplot data.csv.plot
- name: Save benchmarking plot
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: benchmark-plot
path: data.csv.svg

0 comments on commit 1ecf0ae

Please sign in to comment.