Skip to content

Commit

Permalink
Found a missing folder in a path and 'uses' on wrong scope
Browse files Browse the repository at this point in the history
  • Loading branch information
JJWTimmer committed Oct 22, 2023
1 parent cd34cf3 commit d1a1eb6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 18 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ on:
- website-v2

jobs:
prepare-website:
uses: ./.github/workflows/base-jobs.yml

website-pr:
name: Sanity check the Rascal website
runs-on: buildjet-4vcpu-ubuntu-2204
needs: prepare-website
steps:
# Checkout only the workflow folder for this commit (else it uses main branch)
- name: Clone
uses: actions/checkout@v4
with:
sparse-checkout: '.github'

# Do the base actions
- uses: ./.github/base-jobs.yml

# Download prepared sources from base
- name: Download sources
uses: actions/download-artifact@v3
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/website-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ on:
- website-v2

jobs:
prepare-website:
uses: ./.github/workflows/base-jobs.yml

website:
name: Deploy the Rascal website
runs-on: buildjet-4vcpu-ubuntu-2204
needs: prepare-website
steps:
# Checkout only the workflow folder for this commit (else it uses main branch)
- name: Clone
uses: actions/checkout@v4
with:
sparse-checkout: '.github'

# Do the base actions
- uses: ./.github/base-jobs.yml

# Download prepared sources from base
- name: Download sources
uses: actions/download-artifact@v3
Expand Down

0 comments on commit d1a1eb6

Please sign in to comment.