Skip to content

Commit

Permalink
ci: update
Browse files Browse the repository at this point in the history
  • Loading branch information
so1ve committed Sep 4, 2023
1 parent 9b0dfd9 commit 8a543f5
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/autofix-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,25 @@ jobs:
autofix:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Checkout Bucket
uses: actions/checkout@v3
with:
fetch-depth: 2
path: 'my_bucket'
- name: Checkout Scoop
uses: actions/checkout@v3
with:
repository: ScoopInstaller/Scoop
path: 'scoop_core'
- name: Format
shell: pwsh
run: |
.\bin\formatjson.ps1
$env:SCOOP_HOME="$(Resolve-Path '.\scoop_core')"
.\my_bucket\bin\formatjson.ps1
- name: Cleanup
shell: pwsh
run: |
Copy-Item -Path "./my_bucket/*" -Destination "./" -Recurse
Remove-Item -Path "./my_bucket" -Recurse
Remove-Item -Path "./scoop_core" -Recurse
- uses: autofix-ci/action@8bc06253bec489732e5f9c52884c7cace15c0160

0 comments on commit 8a543f5

Please sign in to comment.