You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/release.yml
+38-50Lines changed: 38 additions & 50 deletions
Original file line number
Diff line number
Diff line change
@@ -10,24 +10,38 @@ on:
10
10
11
11
jobs:
12
12
prepare_release:
13
-
name: Create Release
13
+
name: Prepare Release
14
14
runs-on: ubuntu-latest
15
15
steps:
16
16
- name: Checkout code
17
-
uses: actions/checkout@v3
17
+
uses: actions/checkout@v4
18
18
19
19
- name: Get version from tag
20
20
id: get_version
21
-
uses: battila7/get-version-action@v2
21
+
uses: jannemattila/get-version-from-tag@v3
22
22
23
-
- name: Create Release
23
+
- name: Setup Node.js
24
+
uses: actions/setup-node@v4
25
+
with:
26
+
node-version: 21
27
+
28
+
- run: npm ci
29
+
30
+
- name: Package Extension
31
+
id: packageExtension
32
+
uses: HaaLeo/publish-vscode-extension@v1
33
+
with:
34
+
pat: stub
35
+
packagePath: "./client/"
36
+
dryRun: true
37
+
38
+
- name: Create Draf Release
24
39
id: create_release
25
-
uses: actions/create-release@v1
40
+
uses: softprops/action-gh-release@v2
26
41
env:
27
42
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
43
with:
29
-
tag_name: ${{ github.ref }}
30
-
release_name: Release ${{ github.ref }}
44
+
name: Release ${{ github.ref }}
31
45
body: |
32
46
This release contains the [Galaxy Language Server](https://github.com/davelopez/galaxy-language-server/tree/main/server) and the [Galaxy Tools Visual Studio Code Extension](https://github.com/davelopez/galaxy-language-server/tree/main/client).
33
47
You can view the list of changes in the respective changelogs:
@@ -39,13 +53,16 @@ jobs:
39
53
The Galaxy Tools Extension is available at [Open VSX Registry](https://open-vsx.org/extension/davelopez/galaxy-tools) and [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=davelopez.galaxy-tools).
40
54
You can also install the extension manually by downloading the VSIX package included in this release and using:
0 commit comments