diff --git a/.github/workflows/install_test.yml b/.github/workflows/install.yml similarity index 88% rename from .github/workflows/install_test.yml rename to .github/workflows/install.yml index dde718f..f2e2b1b 100644 --- a/.github/workflows/install_test.yml +++ b/.github/workflows/install.yml @@ -11,7 +11,7 @@ on: jobs: test-install: # This workflow should only run in Hirlam/obsmon to not overuse GitHub action minutes in forks - if: github.repository == 'Hirlam/Harmonie' + if: github.repository == 'Hirlam/obsmon' runs-on: ubuntu-latest @@ -41,7 +41,7 @@ jobs: - name: Cache R packages uses: actions/cache@v4 with: - path: /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs + path: /home/runner/.cache/Rlibs/${{ matrix.r-version }} key: ${{ runner.os }}-r-${{ matrix.r-version }}-${{ hashFiles('**/DESCRIPTION') }} restore-keys: | ${{ runner.os }}-r-${{ matrix.r-version }}- @@ -66,14 +66,13 @@ jobs: ls -latr /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs du -sh /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs - # 7. Install a test package (should go into cache) - - name: Install test R package - run: | - Rscript -e 'install.packages("jsonlite", repos="https://cloud.r-project.org")' - # 8. Install obsmon R packages - name: Install obsmon R packages - run: ./install -output-rootdir /home/runner/.cache/Rlibs/${{ matrix.r-version }} + run: | + ls -ltr /home/runner/.cache/Rlibs/${{ matrix.r-version }} + ls -ltr /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs + ./install -output-rootdir /home/runner/.cache/Rlibs/${{ matrix.r-version }} + ls -ltr /home/runner/.cache/Rlibs/${{ matrix.r-version }}/R-libs # 9. Verify cache contents - name: Verify cached packages diff --git a/CHANGELOG.md b/CHANGELOG.md index 1a82fa1..117703e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](http://semver.org). ## [Unreleased] ### Fixed +- Correct install Action [!56](https://github.com/Hirlam/obsmon/pull/56) - Correct Actions [!52](https://github.com/Hirlam/obsmon/pull/52) - Correct ECMWF documentation [!51](https://github.com/Hirlam/obsmon/pull/51) ### Added