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