cache-save-src/.forgejo/workflows/build-action.yml
dzu 5e5b6483dd
All checks were successful
Build and update the action / build-and-upload (push) Successful in 7m45s
Initial stabilization (#1)
Reviewed-on: #1
Co-authored-by: dzu <dzu@dzuchun.ing>
Co-committed-by: dzu <dzu@dzuchun.ing>
2026-02-21 04:54:42 +01:00

26 lines
830 B
YAML

name: Build and update the action
on:
workflow_dispatch:
push:
branches:
- main
- dev
jobs:
build-and-upload:
runs-on: docker
steps:
- name: Build and update the action
uses: https://git.dzuchun.ing/actions/anode-build@main
with:
src-repository: https://git.dzuchun.ing/actions/cache-save-src.git
src-ref: ${{ forgejo.ref_name }}
src-token: ${{ secrets.GIT_TOKEN }}
dst-repository: https://git.dzuchun.ing/actions/cache-save.git
dst-ref: ${{ forgejo.ref_name }}
dst-token: ${{ secrets.GIT_TOKEN }}
dst-email: forgejo-actions@dzuchun.ing
opt-release: ${{ forgejo.ref_name == 'main' }}
opt-build-std: ${{ forgejo.ref_name == 'main' }}
opt-upx: ${{ forgejo.ref_name == 'main' }}