forked from aa15032261/apple_set_os-loader
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from zeroday0619/master
Build automation using github actions and update pci.ids.txt
- Loading branch information
Showing
3 changed files
with
2,506 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: C/C++ CI | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: '0' | ||
|
||
- name: Install dependency | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install build-essential gnu-efi | ||
- name: make | ||
run: | | ||
make | ||
- name: generate tag | ||
id: tag | ||
run: | | ||
count=$(git rev-list --count HEAD) | ||
hash=$(git rev-parse --short HEAD) | ||
echo "::set-output name=tag::r${count}.${hash}" | ||
- uses: "marvinpinto/action-automatic-releases@latest" | ||
with: | ||
repo_token: "${{ secrets.GITHUB_TOKEN }}" | ||
automatic_release_tag: "${{ steps.tag.outputs.tag }}" | ||
prerelease: false | ||
title: "Release ${{ steps.tag.outputs.tag }}" | ||
files: | | ||
*.efi |
Oops, something went wrong.