Remove duplicated workflow (#1507)

* add workflow and scripts

* Update date

* Removed duplicated workflow

Co-authored-by: GitHub set-date Action <action@github.com>
This commit is contained in:
David Holdeman 2020-06-18 14:06:03 -07:00 committed by GitHub
parent 905e90793a
commit cd1cbd1f76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 30 additions and 24 deletions

View File

@ -3,8 +3,37 @@ name: Firmware CI
on: [push,pull_request]
jobs:
config:
runs-on: ubuntu-latest
if: ${{ github.event.pusher }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Generate Configs
working-directory: ./firmware/
run: sh gen_config.sh
- name: Generate Live Documentation
working-directory: ./firmware/
run: sh gen_live_documentation.sh
- name: Commit changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub build-firmware Action"
git commit -am "Auto-generated configs and docs" 2>&1 | grep -E '(nothing to commit|changed)'
- name: Push configs
uses: ad-m/github-push-action@master
with:
github_token: ${{ github.token }}
build:
runs-on: ubuntu-latest
needs: config
strategy:
# Let all builds finish even if one fails early

View File

@ -1,23 +0,0 @@
name: rusEFI console 11
on: [push,pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
# todo: switch to 11 once we have modules access
- uses: actions/setup-java@v1
with:
java-version: '8'
- name: Test Compiler
run: javac -version
- name: Build console
working-directory: ./java_console
run: ant

View File

@ -1,4 +1,4 @@
name: rusEFI console 8
name: rusEFI console
on: [push,pull_request]