Initial stabilization #1
1 changed files with 26 additions and 0 deletions
commit
f5cce09f06
26
.forgejo/workflows/build-action.yml
Normal file
26
.forgejo/workflows/build-action.yml
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
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-load-src.git
|
||||||
|
src-ref: ${{ forgejo.ref_name }}
|
||||||
|
src-token: ${{ secrets.GIT_TOKEN }}
|
||||||
|
dst-repository: https://git.dzuchun.ing/actions/cache-load.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' }}
|
||||||
Loading…
Reference in a new issue