Skip to content

Commit

Permalink
main.yml: General clean-up.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoninoScordino committed Feb 15, 2024
1 parent 93641d3 commit 377e6c8
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,30 +65,29 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Cleanup
run: rm -rf *
- name: Check-out to repository
- name: Checking-out to repository
uses: actions/checkout@v4
- name: Create workspace
run: mkdir ${{ github.event.inputs.DEVICE_NAME }}
continue-on-error: true
- name: Enter Workspace
run: cd ${{ github.event.inputs.DEVICE_NAME }}
- name: Creating a workspace
run: |
mkdir ${{ github.event.inputs.DEVICE_NAME }}
cd ${{ github.event.inputs.DEVICE_NAME }}
continue-on-error: true
- name: Install gh command
- name: Install 'gh'
run: curl -sS https://webi.sh/gh | sh
- name: Install repo
- name: Install 'repo'
run: |
mkdir ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
sudo ln -sf ~/bin/repo /usr/bin/repo
- name: Initialize repo
- name: Set-up 'git' environment.
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com"
case "${{ github.event.inputs.BASE_PROJECT }}" in
- name: Set-up 'repo' environment.
run: |
case "${{ github.event.inputs.BASE_PROJECT }}" in
arrow-13)
repo init -u https://github.com/ArrowOS/android_manifest -b arrow-13.1 --git-lf --depth=1
;;
Expand Down

0 comments on commit 377e6c8

Please sign in to comment.