-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Github Actions
- Loading branch information
Showing
7 changed files
with
90 additions
and
66 deletions.
There are no files selected for viewing
File renamed without changes.
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,52 @@ | ||
--- | ||
name: Build Fedora ISO | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: "AgentInfo" | ||
run: ./.github/agent-info.sh | ||
- name: "YamlLint" | ||
run: | | ||
docker run \ | ||
--rm \ | ||
-w /repo \ | ||
-v $(pwd):/repo \ | ||
-t \ | ||
alpine:3.13 /bin/sh -c " \ | ||
apk add --no-cache py-pip python3 bash \ | ||
&& pip3 install yamllint \ | ||
&& yamllint -s . \ | ||
" | ||
- name: "ShellCheck" | ||
run: | | ||
docker run \ | ||
--rm \ | ||
-w /repo \ | ||
-v $(pwd):/repo \ | ||
-t \ | ||
alpine:3.13 /bin/sh -c " \ | ||
apk add --no-cache shellcheck bash \ | ||
&& shellcheck $(find . -type f -name "*.sh" | tr '\n' ' ') | ||
" | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: "Build Fedora ISO" | ||
run: ./build_in_docker.sh | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: true | ||
files: | | ||
./fedora-kickstarts/output_zip/* | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # You don't need to add this in secrets it's by default. |
This file was deleted.
Oops, something went wrong.
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
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
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
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
#!/bin/sh | ||
if [ "${1}" = "pre" ]; then | ||
modprobe -r apple_ib_tb hid_apple | ||
modprobe -r apple_ib_tb | ||
modprobe -r hid_apple | ||
elif [ "${1}" = "post" ]; then | ||
modprobe hid_apple apple_ib_tb | ||
modprobe hid_apple | ||
modprobe apple_ib_tb | ||
fi |