Skip to content

Commit

Permalink
update workflow bin extract for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dacog committed Nov 21, 2024
1 parent 4044929 commit e21ae08
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 @@ -25,8 +25,8 @@ jobs:
# Windows
curl -L "https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-windows-amd64.tar.gz" -o windows.tar.gz
unzip windows.tar.gz
cp "d2-${D2_VERSION}-windows-amd64/d2.exe" d2_python/bin/win32/d2-bin.exe
tar xzf windows.tar.gz
cp "d2-${D2_VERSION}/bin/d2.exe" d2_python/bin/win32/d2-bin.exe
# MacOS
curl -L "https://github.com/terrastruct/d2/releases/download/${D2_VERSION}/d2-${D2_VERSION}-macos-amd64.tar.gz" -o darwin.tar.gz
Expand All @@ -47,4 +47,4 @@ jobs:
run: |
python -m pip install build twine
python -m build
python -m twine upload dist/*
python -m twine upload dist/*

0 comments on commit e21ae08

Please sign in to comment.