Skip to content

Commit

Permalink
init project
Browse files Browse the repository at this point in the history
  • Loading branch information
TechCiel committed May 31, 2022
0 parents commit eeb59ab
Show file tree
Hide file tree
Showing 5 changed files with 801 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Release

on:
workflow_dispatch:
push:
branches: [ main ]
schedule:
- cron: '0 2 * * 4'

jobs:
build:
name: Build Release
runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@v3

- name: Run make
run: make

- name: Push to release branch
run: |
git branch -D release || true
git checkout --orphan release
git add GeoCN.txt
git config --local user.name "github-actions[bot]"
git config --local user.email ""
git commit -m "built on $(date)"
git remote add github "https://${{ github.actor }}:${{ github.token }}@github.com/${{ github.repository }}.git"
git push -f -u github release
Loading

0 comments on commit eeb59ab

Please sign in to comment.