From 6c055a8965a214450ce05388fcd01962c15b7852 Mon Sep 17 00:00:00 2001 From: Yann Richet Date: Thu, 24 Nov 2022 10:55:00 +0100 Subject: [PATCH] fix ci --- .github/workflows/ant.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ant.yml b/.github/workflows/ant.yml index 01f177a..eb2027f 100644 --- a/.github/workflows/ant.yml +++ b/.github/workflows/ant.yml @@ -14,6 +14,8 @@ jobs: os: [ubuntu-latest, windows-latest, macOS-latest] java: [ 8 ] runs-on: ${{ matrix.os }} + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - uses: actions/checkout@v2 - uses: actions/setup-java@v1 @@ -22,11 +24,7 @@ jobs: java-package: jdk - uses: r-lib/actions/setup-r@v2 with: - r-version: release - - if: matrix.os == 'macos-latest' - run: | - ln -s /Library/Frameworks/R.framework/Versions/3.6 /Library/Frameworks/R.framework/Versions/3.5 - echo "/Library/Frameworks/R.framework/Resources/bin" >> $GITHUB_PATH + r-version: 4.2 - uses: r-lib/actions/setup-pandoc@v1 - run: | WD=$PWD @@ -80,7 +78,4 @@ jobs: with: files: ./*-Brent.zip env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file