Skip to content
This repository has been archived by the owner on Jun 8, 2024. It is now read-only.

Commit

Permalink
Add code archiving and downloading steps
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmielchen committed Feb 13, 2024
1 parent ecfa30e commit 7188e23
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 7188e23

Please sign in to comment.