Skip to content

Commit

Permalink
No jobs defined in 'jobs' error, fix attempt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinMShea committed Dec 12, 2024
1 parent 43dc74f commit 2869068
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/slack-notify-build.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: R-CMD-check
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check


jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}

name: ${{ matrix.config.os }} (${{ matrix.config.r }})
runs-on: ${{ matrix.config.os }}

strategy:
fail-fast: false
Expand All @@ -21,7 +21,7 @@ jobs:
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
- {os: ubuntu-latest, r: 'release'}
- {os: ubuntu-latest, r: 'oldrel-1'}

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
Expand All @@ -37,13 +37,13 @@ jobs:
channel_id: C01MS7ECQ8Z
status: STARTING
color: warning

- name: Check for and install Git Large File Storage (LFS)
run: |
git lfs install
git lfs install
- uses: actions/checkout@v2

- name: generate Git Large File Storage (lfs) file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
- name: restore lfs cache
Expand All @@ -53,10 +53,10 @@ jobs:
path: .git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}-v1
- name: pull lfs files
run: git lfs pull
run: git lfs pull

- uses: r-lib/actions/setup-pandoc@v1

- uses: r-lib/actions/setup-tinytex@v1
- run: tlmgr --version
- name: Install Ghostscript on Linux
Expand All @@ -68,18 +68,18 @@ jobs:
- name: Install Ghostscript on Windows
if: runner.os == 'Windows'
run: choco install ghostscript --no-progress

- uses: r-lib/actions/setup-r@v1
with:
r-version: ${{ matrix.config.r }}
http-user-agent: ${{ matrix.config.http-user-agent }}
use-public-rspm: true


- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: rcmdcheck

- uses: r-lib/actions/check-r-package@v1

- name: Notify slack success
Expand Down

0 comments on commit 2869068

Please sign in to comment.