Skip to content

Create challenger_long.csv #29

Create challenger_long.csv

Create challenger_long.csv #29

name: Build and Release
on:
# push:
# branches:
# - main
# tags:
# - 'v*'
# pull_request:
# branches:
# - main
# schedule:
# - cron: '0 0 * * *' # This runs daily at midnight UTC
# workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Set up R
uses: r-lib/actions/setup-r@v2
- name: Install dependencies
run: |
install.packages('devtools')
install.packages('remotes')
- name: Build tarball
run: |
R CMD build R/edudat
shell: Rscript {0}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./edudat_0.1.tar.gz
asset_name: edudat_0.1.tar.gz
asset_content_type: application/gzip