Skip to content

Commit

Permalink
Bump github action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ennoruijters committed Feb 19, 2024
1 parent a064850 commit cff64b2
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Compile DFTCalc
run: cd build && make -j$NUMCORES install
- name: Checkout DFTRES
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: utwente-fmt/DFTRES
path: DFTRES
Expand All @@ -36,7 +36,7 @@ jobs:
echo "imrmc=$(git ls-remote git://git.ennoruijters.nl/imrmc.git | grep '\srefs/heads/master$' | grep -o '^[0-9a-z]\+')" >> $GITHUB_OUTPUT
- name: Cache DFTRES
id: cache-dftres
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: DFTRES/DFTRES.jar
key: ${{ runner.os }}-dftres-${{ steps.cache-revs.outputs.dftres }}
Expand All @@ -45,7 +45,7 @@ jobs:
run: cd DFTRES && make jar
- name: Cache IMRMC
id: cache-imrmc
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: imrmc/bin/imrmc
key: ${{ runner.os }}-imrmc-${{ steps.cache-revs.outputs.imrmc }}
Expand All @@ -60,7 +60,7 @@ jobs:
DFTRES: ${{github.workspace}}/DFTRES
run: cd test && bash test.sh --exact --imrmc
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: test-results
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
Expand All @@ -19,7 +19,7 @@ jobs:
sudo apt-cache show storm | grep Version | sed -e 's/Version: /STORM_VERSION=/' >> $GITHUB_ENV
sudo mkdir apt-archive
- name: APT cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: apt-archive.tar
key: ${{ runner.os }}-apt-${{ env.STORM_VERSION }}
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Compile DFTCalc
run: cd build && make -j4 install
- name: Checkout DFTRES
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: utwente-fmt/DFTRES
path: DFTRES
Expand All @@ -49,7 +49,7 @@ jobs:
echo "imrmc-march=$(gcc -march=native -E -v - </dev/null 2>&1 | grep cc1 | sha256sum | grep -o '^[0-9a-z]\+')" >> $GITHUB_OUTPUT
- name: Cache DFTRES
id: cache-dftres
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: DFTRES/DFTRES.jar
key: ${{ runner.os }}-dftres-${{ steps.cache-revs.outputs.dftres }}
Expand All @@ -58,7 +58,7 @@ jobs:
run: cd DFTRES && make jar
- name: Cache IMRMC
id: cache-imrmc
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: imrmc/bin/imrmc
key: ${{ runner.os }}-imrmc-${{ steps.cache-revs.outputs.imrmc }}-${{ steps.cache-revs.outputs.imrmc-march }}
Expand All @@ -73,7 +73,7 @@ jobs:
DFTRES: ${{github.workspace}}/DFTRES
run: cd test && bash test.sh --exact --imrmc && bash test.sh --exact --storm && bash test.sh --storm
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: test-results
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: dftcalc
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: microsoft
- name: Checkout yaml-cpp
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: jbeder/yaml-cpp
path: yaml-cpp
- name: Checkout DFTRES
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: utwente-fmt/DFTRES
path: DFTRES
Expand All @@ -33,7 +33,7 @@ jobs:
echo "IMRMC_REV=$REV" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Try to load yaml-cpp
id: cache-yaml-cpp
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
yaml-cpp/yaml-cpp.dll
Expand All @@ -50,7 +50,7 @@ jobs:
copy yaml-cpp.dll,yaml-cpp.lib ..
- name: Cache DFTRES
id: cache-dftres
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: DFTRES\DFTRES.jar
key: ${{ runner.os }}-DFTRES-${{ env.DFTRES_REV }}
Expand All @@ -68,7 +68,7 @@ jobs:
java -jar DFTRES.jar --version
- name: Try to load win-flex and win-bison
id: cache-flex
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: win_flex_bison-2.5.23.zip
key: ${{ runner.os }}-flex-2.5.53
Expand All @@ -83,7 +83,7 @@ jobs:
"$Env:GITHUB_WORKSPACE\flex_bison" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Cache IMRMC
id: cache-imrmc
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: imrmc\imrmc.exe
key: ${{ runner.os }}-imrmc-${{ env.IMRMC_REV }}
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
cd dftcalc\test
.\test.ps1 --imrmc
- name: Upload artifacts
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ always() }}
with:
name: dftcalc
Expand Down

0 comments on commit cff64b2

Please sign in to comment.