Skip to content

Commit

Permalink
Cleanup GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
earlephilhower committed Jun 21, 2024
1 parent cc9910e commit 42c70d5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/make-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
# tags:
# - '*'


jobs:
build-vsix:
runs-on: ubuntu-20.04
Expand All @@ -21,11 +20,13 @@ jobs:
cache-dependency-path: ./package-lock.json
- name: Install code
run: |
sudo snap install --classic code
#sudo snap install --classic code
npm install -g @vscode/vsce
npm install
- name: Build VSIX
run: |
rm -f *.vsix
vsce package
rm -f *.vsix
vsce package
- name: Upload VSIX
uses: actions/upload-artifact@v4
Expand All @@ -50,7 +51,8 @@ jobs:
run: |
rev=$(git rev-parse --short HEAD)
mkdir release
mkdir tmp && cd tmp && unzip ../arduino-littlefs-upload.vsix.zip/*zip && mv */*vsix ../release/. && cd .. && rm -rf tmp
cp arduino-littlefs-upload/arduino-littlefs-upload/arduino-littlefs-upload.vsix ./release/arduino-littlefs-upload-${rev}.vsix
#mkdir tmp && cd tmp && unzip ../arduino-littlefs-upload.vsix.zip/*zip && mv */*vsix ../release/. && cd .. && rm -rf tmp
ls -l release
- name: Drafting release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit 42c70d5

Please sign in to comment.