From ee1abd3624a56bb1fdc36240b00cbe0947b0e1b8 Mon Sep 17 00:00:00 2001 From: Jasper Timmer Date: Tue, 24 Oct 2023 21:09:15 +0200 Subject: [PATCH] Remove explicit artifact creation as test --- .github/workflows/base-jobs.yml | 9 --------- .github/workflows/pr-builder.yml | 10 +--------- .github/workflows/website-builder.yml | 9 --------- 3 files changed, 1 insertion(+), 27 deletions(-) diff --git a/.github/workflows/base-jobs.yml b/.github/workflows/base-jobs.yml index e5e24a724..ef8b9066a 100644 --- a/.github/workflows/base-jobs.yml +++ b/.github/workflows/base-jobs.yml @@ -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 \ No newline at end of file diff --git a/.github/workflows/pr-builder.yml b/.github/workflows/pr-builder.yml index 708e57d27..4b6ab8ea0 100644 --- a/.github/workflows/pr-builder.yml +++ b/.github/workflows/pr-builder.yml @@ -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 diff --git a/.github/workflows/website-builder.yml b/.github/workflows/website-builder.yml index 3d2a33063..f46a8a7c8 100644 --- a/.github/workflows/website-builder.yml +++ b/.github/workflows/website-builder.yml @@ -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/action-netlify-deploy@v2.0.0