From 7079d9ed196f004f9c8d7af38e32eeab89b3a8cc Mon Sep 17 00:00:00 2001 From: Anna Krystalli Date: Tue, 4 Jun 2024 14:29:53 -0400 Subject: [PATCH] add Build and deploy wasm R package repository workflow --- .github/workflows/deploy-cran-repo.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/deploy-cran-repo.yml diff --git a/.github/workflows/deploy-cran-repo.yml b/.github/workflows/deploy-cran-repo.yml new file mode 100644 index 00000000..87b38d4c --- /dev/null +++ b/.github/workflows/deploy-cran-repo.yml @@ -0,0 +1,24 @@ +# Workflow derived from https://github.com/r-wasm/actions/tree/v1/examples +# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help +on: + push: + # Only build on main or master branch + branches: [main, master, test-webr] + # Or when triggered manually + workflow_dispatch: {} + +name: Build and deploy wasm R package repository + +jobs: + # Reads `./packages` for package references to put + # into a CRAN-like repository hosted on GitHub pages + deploy-cran-repo: + uses: r-wasm/actions/.github/workflows/deploy-cran-repo.yml@v1 + with: + packages: any::arrow + permissions: + # To download GitHub Packages within action + repository-projects: read + # For publishing to pages environment + pages: write + id-token: write