Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bubbles-wow authored Aug 8, 2023
1 parent a26ef83 commit 3db615c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@ jobs:
print(url)
break
file = requests.get(url, stream=True)
open(${{ github.workspace }} + "/" + Filename, "wb").write(file.content)
if Path.exists(${{ github.workspace }} + "/" + Filename):
open("${{ github.workspace }}/output/" + Filename, "wb").write(file.content)
if Path.exists("${{ github.workspace }}/output/" + Filename):
print("Done!")
- name: upload result
id: result
uses: actions/upload-artifact@v1
with:
name: my-artifact
path: ${{ github.workspace }}/
path: ${{ github.workspace }}/output

0 comments on commit 3db615c

Please sign in to comment.