Skip to content

Commit

Permalink
Remove explicit artifact creation as test
Browse files Browse the repository at this point in the history
  • Loading branch information
JJWTimmer committed Oct 24, 2023
1 parent 7ce78dc commit ee1abd3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 27 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/base-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,3 @@ jobs:
# Copy docs from dependent projects, run tutor on local courses folder and copy results into docs and static/assets
- 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='.github' --exclude='.vscode' --exclude='META-INF' -cvf sources.tar .

- uses: actions/upload-artifact@v3
with:
name: sources
path: sources.tar
10 changes: 1 addition & 9 deletions .github/workflows/pr-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,9 @@ jobs:
runs-on: buildjet-4vcpu-ubuntu-2204
needs: prepare-website
steps:
# Download prepared sources from base
- name: Download sources
uses: actions/download-artifact@v3
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

- name: Build website
run: yarn build
9 changes: 0 additions & 9 deletions .github/workflows/website-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,6 @@ jobs:
runs-on: buildjet-4vcpu-ubuntu-2204
needs: prepare-website
steps:
# Download prepared sources from base
- name: Download sources
uses: actions/download-artifact@v3
with:
name: sources

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

# Production deploy
- name: Netlify Deploy
uses: jsmrcaga/[email protected]
Expand Down

0 comments on commit ee1abd3

Please sign in to comment.