From 7188e2306cdddd9ae4885f52598ab10e02951e58 Mon Sep 17 00:00:00 2001 From: maxmielchen Date: Tue, 13 Feb 2024 13:10:21 +0100 Subject: [PATCH] Add code archiving and downloading steps --- .github/workflows/pull_request.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f0fe50d..1c72c32 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -13,12 +13,23 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Archive code + uses: actions/upload-artifact@v2 + with: + name: source-code + path: . build: name: Build needs: load_code runs-on: ubuntu-latest steps: + - name: Download code + uses: actions/download-artifact@v2 + with: + name: source-code + path: . + - name: Setup Node 20 uses: actions/setup-node@v4 with: @@ -66,6 +77,12 @@ jobs: permissions: packages: write steps: + - name: Download code + uses: actions/download-artifact@v2 + with: + name: source-code + path: . + - name: Push to GHCR uses: docker/build-push-action@v2 with: