Skip to content

Commit 44598db

Browse files
committed
[FIX] add typeshed to release build script
Zed plugin is downloading typeshed from the release package as a zip, so the script is now adding it to the release
1 parent a356c6f commit 44598db

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/Build-release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,15 @@ jobs:
183183
esac
184184
done
185185
186+
- name: Download typeshed repository
187+
run: |
188+
git clone --depth=1 https://github.com/python/typeshed typeshed
189+
190+
- name: Zip typeshed
191+
run: |
192+
cd typeshed
193+
zip -r ../typeshed.zip .
194+
186195
- name: Create Release
187196
uses: softprops/action-gh-release@v2
188197
with:
@@ -194,6 +203,7 @@ jobs:
194203
./artifacts/*.zip
195204
./artifacts/*.tar.gz
196205
./artifacts/config_schema/config_schema.json
206+
./typeshed.zip
197207
env:
198208
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
199209

0 commit comments

Comments
 (0)