2024-09-27 20:47:09 +02:00
|
|
|
runs:
|
|
|
|
using: "composite"
|
|
|
|
steps:
|
|
|
|
- run: |
|
|
|
|
su forgejo -c 'make deps-backend'
|
|
|
|
- uses: actions/cache@v4
|
|
|
|
id: cache-backend
|
|
|
|
with:
|
2024-10-01 17:45:38 +02:00
|
|
|
path: ${{github.workspace}}/gitea
|
2024-09-27 20:47:09 +02:00
|
|
|
key: backend-build-${{ github.sha }}
|
|
|
|
- if: steps.cache-backend.outputs.cache-hit != 'true'
|
|
|
|
run: |
|
|
|
|
su forgejo -c 'make backend'
|
|
|
|
env:
|
|
|
|
TAGS: bindata
|