refactor: re-export data type #622
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build R | |
# Build on push to main, but not on tags as tags are released | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- '*' | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
name: R Build | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
r: [release] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/r_setup | |
- shell: Rscript {0} | |
working-directory: ./exon-r/exonr/ | |
run: | | |
fn = devtools::build(binary = TRUE, args = c('--preclean')) | |
print(fn) | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: exonr-${{ matrix.os }}-${{ matrix.r }} | |
path: exon-r/exonr_* | |
- name: print wd | |
run: print(getwd()) | |
shell: Rscript {0} | |
- name: print files | |
run: print(list.files("exon-r",recursive = TRUE,full.names=TRUE)) | |
shell: Rscript {0} |