Skip to content

Commit

Permalink
fix: get the release from gh releases instead of main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
s1n7ax committed Dec 15, 2023
1 parent 95231f7 commit 2da4525
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,10 @@ jobs:
- name: Check with current version
run: |
# currently the latest version is 0.40.1 but it fail to build so using the main repository
# wget "https://github.com/microsoft/vscode-java-test/archive/refs/tags/${VERSION}.tar.gz"
# tar xf "${VERSION}.tar.gz" -C . --strip-components=1
wget "https://github.com/microsoft/vscode-java-test/archive/refs/tags/${VERSION}.tar.gz"
tar xf "${VERSION}.tar.gz" -C . --strip-components=1
if [ "$VERSION" != "0.40.1" ]; then
echo "From the new version, release source files should be used"
exit 1
fi
git clone "https://github.com/microsoft/vscode-java-test.git" .
# git clone "https://github.com/microsoft/vscode-java-test.git" .
# NOT SURE IF THIS IS NEEDED
# - name: Setup Build Environment
Expand Down

0 comments on commit 2da4525

Please sign in to comment.