Skip to content

Commit 65522c0

Browse files
committed
ignoring more
1 parent befadef commit 65522c0

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.github/workflows/build.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ name: Build and Publish
22

33
on:
44
workflow_dispatch:
5-
branches: [main]
6-
inputs:
7-
version:
8-
description: 'Version to bump `package.json` to'
9-
required: true
5+
branches:
6+
- main
7+
paths-ignore:
8+
- '**/*.md'
9+
- '**/*.gitignore'
10+
- '**/*.gitattributes'
1011

1112
jobs:
1213
build:
@@ -30,6 +31,10 @@ jobs:
3031
env:
3132
CI: true
3233

34+
- name: Extract Package Version
35+
id: package_version
36+
uses: Saionaro/[email protected]
37+
3338
- name: Publish
3439
run: npm run deploy
3540
env:
@@ -38,15 +43,15 @@ jobs:
3843
- name: Upload artifact
3944
uses: actions/upload-artifact@v3
4045
with:
41-
name: "timheuer-resx-editor"
46+
name: ${{ github.event.repository.name}}.vsix
4247
path: "**/*.vsix"
4348

4449
- name: Tag and Release
4550
id: tag_release
4651
uses: softprops/action-gh-release@v1
4752
with:
48-
body: Release ${{ github.event.inputs.version }}
49-
tag_name: ${{ github.event.inputs.version }}
53+
body: Release ${{ steps.package_version.outputs.version }}
54+
tag_name: ${{ steps.package_version.outputs.version }}
5055
generate_release_notes: true
5156
files: |
5257
**/*.vsix

.vscodeignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@ vsc-extension-quickstart.md
88
**/.eslintrc.json
99
**/*.map
1010
**/*.ts
11+
esbuild.js
12+
gulp.js
13+
node_modules/**

0 commit comments

Comments
 (0)