16 lines
384 B
YAML
16 lines
384 B
YAML
runs:
|
|
using: "composite"
|
|
steps:
|
|
- run: |
|
|
su forgejo -c 'make deps-backend'
|
|
- uses: actions/cache@v4
|
|
id: cache-backend
|
|
with:
|
|
path: ${{github.workspace}}/gitea
|
|
key: backend-build-${{ github.sha }}
|
|
- if: steps.cache-backend.outputs.cache-hit != 'true'
|
|
run: |
|
|
su forgejo -c 'make backend'
|
|
env:
|
|
TAGS: bindata
|