Skip to content

Commit

Permalink
Fix CI for arm
Browse files Browse the repository at this point in the history
  • Loading branch information
crisidev committed May 19, 2024
1 parent 433bdd1 commit a691700
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
9 changes: 9 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# use gcc linker when cross compiling to arm on linux

[target.aarch64-unknown-linux-gnu]
linker = "aarch64-linux-gnu-gcc"
ar = "aarch64-linux-gnu-ar"

[target.arm-unknown-linux-gnueabihf]
linker = "arm-linux-gnueabihf-gcc"
ar = "arm-linux-gnueabihf-ar"
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ jobs:
run: |
ls -al dist/*
npx glob dist/**/*.vsix
- name: vsce publish
run: npx vsce publish --packagePath $(npx glob dist/**/*.vsix)
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
- name: ovsx publish
run: npx ovsx publish --packagePath $(npx glob dist/**/*.vsix)
env:
OVSX_PAT: ${{ secrets.OVSX_PAT }}
# - name: vsce publish
# run: npx vsce publish --packagePath $(npx glob dist/**/*.vsix)
# env:
# VSCE_PAT: ${{ secrets.VSCE_PAT }}
# - name: ovsx publish
# run: npx ovsx publish --packagePath $(npx glob dist/**/*.vsix)
# env:
# OVSX_PAT: ${{ secrets.OVSX_PAT }}
- name: Upload to GH release
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit a691700

Please sign in to comment.