forgejo/.forgejo/workflows-composite/build-backend/action.yaml

16 lines
391 B
YAML
Raw Normal View History

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:
path: '/workspace/forgejo/forgejo/gitea'
key: backend-build-${{ github.sha }}
- if: steps.cache-backend.outputs.cache-hit != 'true'
run: |
su forgejo -c 'make backend'
env:
TAGS: bindata