mirror of
https://github.com/CFC-Servers/gm_logger.git
synced 2025-03-04 03:03:01 -05:00
Also push generated code to lua branch
This commit is contained in:
parent
17ac21a2b0
commit
53571dc516
18
.github/workflows/main.yml
vendored
18
.github/workflows/main.yml
vendored
@ -27,8 +27,22 @@ jobs:
|
||||
- name: Build Lua
|
||||
run: moonc -t lua moon/*
|
||||
|
||||
- name: Prepare Release Asset
|
||||
run: rm -rf moon .git*
|
||||
- name: Remove moon
|
||||
run: rm -rf moon
|
||||
|
||||
- name: Remove github dir
|
||||
run: rm -rf .github
|
||||
|
||||
- name: Push to lua branch
|
||||
run: |
|
||||
git config user.name github-actions
|
||||
git config user.email github-actions@github.com
|
||||
git add .
|
||||
git commit -m "Release build: ${{ github.ref }}"
|
||||
git push -f origin lua
|
||||
|
||||
- name: Remove .git dir
|
||||
run: rm -rf .git
|
||||
|
||||
- name: Create subdirectory
|
||||
run: mkdir ${{ github.event.repository.name }}
|
||||
|
Loading…
Reference in New Issue
Block a user