Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yannrichet-irsn authored Jan 27, 2023
1 parent 8d5ab05 commit c7b25fa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2

- run: |
cd ..; R CMD INSTALL --build FunQuant
mkdir FunQuant/R-${{ matrix.R }}
mv FunQuant_*.* FunQuant/R-${{ matrix.R }}/.
cd ..; R CMD INSTALL --build FunQuant
NAME=`ls FunQuant_*.*`
mv $NAME FunQuant/R_${{ matrix.R }}-$NAME
shell: bash
name: R CMD INSTALL
- uses: actions/upload-artifact@v2
with:
path: ./R-*
path: ./R_*

- uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: ./R-${{ matrix.R }}/*
files: ./R_*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c7b25fa

Please sign in to comment.