Skip to content

Commit

Permalink
Do checkout before calling base actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JJWTimmer committed Oct 22, 2023
1 parent 4a230ef commit f9b6cc7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/base-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ jobs:
website:
name: Build the Rascal website
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Clone
uses: actions/checkout@v3

steps:
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ jobs:
name: Build the Rascal website
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
# Do the base actions
- name: Clone
uses: actions/checkout@v3

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

# Do a dummy build to see if there are errors
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/website-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
name: Build the Rascal website
runs-on: buildjet-4vcpu-ubuntu-2204
steps:
- name: Clone
uses: actions/checkout@v3

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

Expand Down

0 comments on commit f9b6cc7

Please sign in to comment.