]> https://gitweb.dealii.org/ - code-gallery.git/commitdiff
Update to checkoutv3. Move preCICE installation to separate stage. 93/head
authorMarc Fehling <mafehling.git@gmail.com>
Sat, 8 Apr 2023 03:25:33 +0000 (21:25 -0600)
committerMarc Fehling <mafehling.git@gmail.com>
Thu, 13 Apr 2023 18:13:05 +0000 (12:13 -0600)
.github/workflows/precice-ci.yml

index 6beeb0eed85df256751f7c6b5cad424445919342..6a89c4e92a3236c2ebdb69c2066e382a9f159b17 100644 (file)
@@ -6,7 +6,7 @@ on:
   pull_request:
     branches: [ master ]
   schedule:
-  - cron:  '0 0 * * 0'
+  - cron: '0 0 * * 0'
 
 jobs:
   build:
@@ -24,13 +24,16 @@ jobs:
       options: --user root
 
     steps:
-      - uses: actions/checkout@v2
+      - name: Install preCICE
+        run: |
+          sudo apt-get -y update
+          wget https://github.com/precice/precice/releases/download/v2.4.0/libprecice2_2.4.0_focal.deb
+          sudo apt-get -y install ./libprecice2_2.4.0_focal.deb
+
+      - uses: actions/checkout@v3
 
       - name: Compile
         run: |
-          sudo apt-get -y update
-          wget https://github.com/precice/precice/releases/download/v2.3.0/libprecice2_2.3.0_focal.deb
-          sudo apt-get -y install ./libprecice2_2.3.0_focal.deb
           cd coupled_laplace_problem
           cmake .
           make

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.