Skip to content

Commit

Permalink
main.yml: Move cleanup to init and sync
Browse files Browse the repository at this point in the history
  • Loading branch information
sounddrill31 authored Mar 17, 2024
1 parent 33faee6 commit 28bfb09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cleanup
run: rm -rf *
- name: Install repo tool
run: |
sudo apt-get update
sudo apt-get install -y git-core python3-pip wget
wget https://storage.googleapis.com/git-repo-downloads/repo && sudo mv repo /usr/bin/repo && sudo chmod a+x /usr/bin/repo
- name: Initialize and Sync Repo for Manifest
run: |
rm -rf workspace
mkdir workspace
cd workspace
echo "workspace-folder=$(pwd)" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 28bfb09

Please sign in to comment.