Skip to content

Commit

Permalink
Undo yarn update; update actions and use buildjet-replacement actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
JJWTimmer committed Jun 16, 2024
1 parent d320683 commit c4433ed
Show file tree
Hide file tree
Showing 4 changed files with 1,413 additions and 1,372 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/base-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
- name: Clone
uses: actions/checkout@v4

- uses: actions/setup-java@v3
- uses: buildjet/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'

- uses: actions/setup-node@v3
- uses: buildjet/setup-node@v4
with:
node-version: 20
cache: yarn
Expand All @@ -36,11 +36,7 @@ jobs:
- name: Run rascal-tutor and reuse libraries
run: MAVEN_OPTIONS="-Xss256m -Xmx3G" mvn -B clean package -Dwebdriver.chrome.driver=/usr/local/bin/chromedriver -Dwebdriver.chrome.browser=`which chrome`

# Big speedup over uploading seperate files
- name: Tar files
run: tar --exclude='target' --exclude='.git' --exclude='.github' --exclude='.vscode' --exclude='META-INF' -cvf sources.tar .

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sources
path: sources.tar
5 changes: 1 addition & 4 deletions .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,10 @@ jobs:
steps:
# Download prepared sources from base
- name: Download sources
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sources

- name: Untar files
run: tar -xvf sources.tar

# Do a dummy build to see if there are errors
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/website-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ jobs:
steps:
# Download prepared sources from base
- name: Download sources
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: sources

- name: Untar files
run: tar -xvf sources.tar

# Production deploy
- name: Netlify Deploy
Expand Down
Loading

0 comments on commit c4433ed

Please sign in to comment.