Skip to content

Commit 1c53085

Browse files
authored
Update main.yml
1 parent 722e939 commit 1c53085

File tree

1 file changed

+33
-10
lines changed

1 file changed

+33
-10
lines changed

.github/workflows/main.yml

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,32 @@
1-
name: Build VSIX
1+
# name: Release all pdf
2+
# on:
3+
# release:
4+
# types:
5+
# - created
6+
7+
# jobs:
8+
# build_latex:
9+
# runs-on: ubuntu-latest
10+
# steps:
11+
# - name: Set up Git repository
12+
# uses: actions/checkout@v2
13+
# - name: Compile LaTeX document
14+
# uses: dante-ev/latex-action@latest
15+
# with:
16+
# working_directory: comunicazioni_numeriche/
17+
# root_file: main.tex
18+
19+
# - run: mkdir out/
20+
# - run: mv comunicazioni_numeriche/main.pdf out/Comunicazioni_Numeriche.pdf
21+
222

3-
on:
4-
push:
5-
branches:
6-
- main
723

24+
name: Release VSIX
25+
on:
26+
release:
27+
types:
28+
- created
29+
830
jobs:
931
build:
1032
runs-on: ubuntu-latest
@@ -28,9 +50,10 @@ jobs:
2850
- name: Build VSIX package
2951
run: vsce package
3052
working-directory: nucleo-debugger
31-
32-
- name: Upload VSIX package
33-
uses: actions/upload-artifact@v2
53+
54+
- name: Release build-artifacts
55+
uses: skx/github-action-publish-binaries@master
56+
env:
57+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3458
with:
35-
name: my-extension.vsix
36-
path: nucleo-debugger/*.vsix
59+
args: "./nucleo-debugger/*.vsix"

0 commit comments

Comments
 (0)