diff --git a/.github/workflows/release-tag.yaml b/.github/workflows/release-tag.yaml index 63f474b..0f0aa9a 100644 --- a/.github/workflows/release-tag.yaml +++ b/.github/workflows/release-tag.yaml @@ -5,42 +5,12 @@ on: push: tags: - 'v*' - jobs: - tagged-release: - name: 'tagged-release' - runs-on: ${{ matrix.config.os }} - - strategy: - fail-fast: false - matrix: - config: - - {os: ubuntu-latest, r: 'release'} - env: - JEST_VERBOSE: ${{ secrets.JEST_VERBOSE }} - GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} - R_KEEP_PKG_SOURCE: yes - + build: + runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - - uses: r-lib/actions/setup-r@v2 - with: - r-version: ${{ matrix.config.r }} - http-user-agent: ${{ matrix.config.http-user-agent }} - use-public-rspm: true - - - name: Install dependencies - run: | - Rscript -e 'install.packages("remotes")' - Rscript -e 'remotes::install_deps(dependencies = TRUE)' - - - name: Build - run: R CMD build . - - - name: Publish release + - name: Checkout + uses: actions/checkout@v3 + - name: Release uses: softprops/action-gh-release@v1 - with: - files: "*.tar.gz" - token: ${{ secrets.GITHUB_TOKEN }}