-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
938024d
commit 8b93e68
Showing
1 changed file
with
4 additions
and
17 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 |
---|---|---|
|
@@ -50,39 +50,26 @@ jobs: | |
echo "$GITHUB_WORKSPACE/avb_keys" >> $GITHUB_PATH | ||
fi | ||
# Step 3: Install GitHub CLI (gh) using the .deb file | ||
- name: Install GitHub CLI (gh) using .deb file | ||
run: | | ||
# Download the latest .deb file for GitHub CLI | ||
GH_VERSION=$(curl -s https://api.github.com/repos/cli/cli/releases/latest | jq -r .tag_name) | ||
curl -LO https://github.com/cli/cli/releases/download/$GH_VERSION/gh_$GH_VERSION_linux_amd64.deb | ||
# Install the .deb package using dpkg | ||
sudo dpkg -i gh_$GH_VERSION_linux_amd64.deb | ||
# Fix missing dependencies (if any) | ||
sudo apt-get install -f -y | ||
# Step 4: Authenticate with GitHub CLI | ||
# Step 3: Authenticate with GitHub CLI (already available in GitHub Actions) | ||
- name: Authenticate with GitHub CLI | ||
run: | | ||
# Authenticate using GITHUB_TOKEN or a Personal Access Token | ||
gh auth login --with-token <<< ${{ secrets.GITHUB_TOKEN }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
# Step 5: Set git username and email | ||
# Step 4: Set git username and email | ||
- name: Set Git username and email | ||
run: | | ||
git config --global user.name "TheWildJames" | ||
git config --global user.email "[email protected]" | ||
# Step 6: Clone kernel build scripts | ||
# Step 5: Clone kernel build scripts | ||
- name: Clone kernel build scripts | ||
run: | | ||
git clone https://github.com/TheWildJames/kernel_build_scripts.git | ||
# Step 7: Run kernel build script | ||
# Step 6: Run kernel build script | ||
- name: Run kernel build script | ||
run: | | ||
chmod +x kernel_build_scripts/GKI/aio_gki_build_kernel_release.sh | ||
|