|
|
@@ -49,11 +49,11 @@ jobs:
|
|
|
|
|
|
trigger-release:
|
|
|
runs-on: ubuntu-latest
|
|
|
- needs:
|
|
|
- - build-kernel-a12
|
|
|
- - build-kernel-a13
|
|
|
- - build-kernel-a14 # Ensure the release only runs after the build jobs complete or are skipped
|
|
|
- if: ${{ github.event.inputs.make_release == 'true' }} # Only run if make_release is true or empty
|
|
|
+ #needs:
|
|
|
+ # - build-kernel-a12
|
|
|
+ # - build-kernel-a13
|
|
|
+ # - build-kernel-a14 # Ensure the release only runs after the build jobs complete or are skipped
|
|
|
+ if: ${{ github.event.inputs.make_release == 'true' || github.event.inputs.make_release == '' }} # Only run if make_release is true or empty
|
|
|
env:
|
|
|
REPO_OWNER: TheWildJames
|
|
|
REPO_NAME: GKI_KernelSU_SUSFS
|
|
|
@@ -82,7 +82,6 @@ jobs:
|
|
|
[+] Magic Mount Support
|
|
|
|
|
|
Special thanks to the following people for their contributions!
|
|
|
-
|
|
|
This helps me alot! <3
|
|
|
|
|
|
simonpunk - Created SUSFS!
|
|
|
@@ -121,7 +120,7 @@ jobs:
|
|
|
|
|
|
# Download Artifacts for A12 (Only if A12 Build is successful or input is true or empty)
|
|
|
- name: Download Artifacts for A12 (Only if A12 Build is successful or skipped)
|
|
|
- if: ${{ (needs.build-kernel-a12.result == 'success' || needs.build-kernel-a12.result == 'skipped') && (github.event.inputs.build_a12 == 'true' || github.event.inputs.build_a12 == '') }}
|
|
|
+ if: ${{ github.event.inputs.build_a12 == 'true' || github.event.inputs.build_a12 == '' }}
|
|
|
uses: actions/download-artifact@v3
|
|
|
with:
|
|
|
name: kernel-artifacts-a12
|
|
|
@@ -129,7 +128,7 @@ jobs:
|
|
|
|
|
|
# Download Artifacts for A13 (Only if A13 Build is successful or input is true or empty)
|
|
|
- name: Download Artifacts for A13 (Only if A13 Build is successful or skipped)
|
|
|
- if: ${{ (needs.build-kernel-a13.result == 'success' || needs.build-kernel-a13.result == 'skipped') && (github.event.inputs.build_a13 == 'true' || github.event.inputs.build_a13 == '') }}
|
|
|
+ if: ${{ github.event.inputs.build_a13 == 'true' || github.event.inputs.build_a13 == '' }}
|
|
|
uses: actions/download-artifact@v3
|
|
|
with:
|
|
|
name: kernel-artifacts-a13
|
|
|
@@ -137,12 +136,22 @@ jobs:
|
|
|
|
|
|
# Download Artifacts for A14 (Only if A14 Build is successful or input is true or empty)
|
|
|
- name: Download Artifacts for A14 (Only if A14 Build is successful or skipped)
|
|
|
- if: ${{ (needs.build-kernel-a14.result == 'success' || needs.build-kernel-a14.result == 'skipped') && (github.event.inputs.build_a14 == 'true' || github.event.inputs.build_a14 == '') }}
|
|
|
+ if: ${{ github.event.inputs.build_a14 == 'true' || github.event.inputs.build_a14 == '' }}
|
|
|
uses: actions/download-artifact@v3
|
|
|
with:
|
|
|
name: kernel-artifacts-a14
|
|
|
path: ./downloaded-artifacts
|
|
|
|
|
|
+ # Create the downloaded-artifacts directory
|
|
|
+ - name: Create download artifacts directory
|
|
|
+ run: mkdir -p ./downloaded-artifacts
|
|
|
+
|
|
|
+ # Create placeholder files
|
|
|
+ - name: Create Placeholder Files
|
|
|
+ run: |
|
|
|
+ echo "This is a placeholder for A12 kernel" > ./downloaded-artifacts/placeholder_a12.txt
|
|
|
+ echo "This is a placeholder for A13 kernel" > ./downloaded-artifacts/placeholder_a13.txt
|
|
|
+ echo "This is a placeholder for A14 kernel" > ./downloaded-artifacts/placeholder_a14.txt
|
|
|
|
|
|
# Create GitHub Release and upload files if make_release is true
|
|
|
- name: Create GitHub Release
|