@@ -9,31 +9,40 @@ permissions:
9
9
10
10
jobs :
11
11
CreateApp :
12
- runs-on : [ ubuntu-latest ]
12
+ runs-on : ubuntu-latest
13
13
steps :
14
14
- name : Checkout
15
15
uses : actions/checkout@v3
16
16
with :
17
17
fetch-depth : 0
18
+
18
19
- name : Setup Node.js
19
- uses : actions/setup-node@v2
20
+ uses : actions/setup-node@v4
20
21
with :
21
22
node-version : ' 20'
23
+
22
24
- name : Install dependencies
23
- run : npm install ${{ github.workspace }}/Git-to-AL-project-configurator/
25
+ run : |
26
+ cd ${{ github.workspace }}/Git-to-AL-project-configurator
27
+ npm install
28
+
24
29
- name : Install vsce globally
25
30
run : npm install -g vsce
26
- - name : package vsc Install
31
+
32
+ - name : Package VSCE
27
33
run : |
28
- cd ${{ github.workspace }}/Git-to-AL-project-configurator/
34
+ cd ${{ github.workspace }}/Git-to-AL-project-configurator
29
35
vsce package --out ${{ github.workspace }}/GittoALprojectconfig.vsix
36
+
30
37
- name : Upload Build Artifacts
31
38
uses : actions/upload-artifact@v4
32
39
with :
33
- name : GittoALprojectconfig.vsix
34
- path : ${{ github.workspace }}/GittoALprojectconfig.vsix
35
- if-no-files-found : error
40
+ name : GittoALprojectconfig.vsix
41
+ path : ${{ github.workspace }}/GittoALprojectconfig.vsix
42
+ if-no-files-found : error
43
+
36
44
- name : Upload Repository
37
45
uses : stefanzweifel/git-auto-commit-action@v5
38
46
with :
39
- commit_message : Update repository with new version of vsix
47
+ commit_message : " Update repository with new version of vsix"
48
+ file_pattern : ' GittoALprojectconfig.vsix'
0 commit comments