Skip to content

Commit 146c78b

Browse files
committed
chore: update GitHub Actions workflow for improved deployment process
1 parent 62117ea commit 146c78b

1 file changed

Lines changed: 13 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ jobs:
88
deploy:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
12-
- run: npm run install:all
13-
- run: npm run build:sidwebview
14-
- run: npm run build:charswebview
15-
# - uses: lannonbr/vsce-action@4.0.0
16-
# with:
17-
# args: "publish -p $VSCE_TOKEN"
18-
# env:
19-
# VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }}
11+
- uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- run: npm run install:all:ci
15+
- name: Release
16+
env:
17+
HUSKY: 0
18+
CI: true
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
# VSCE_PAT: ${{ secrets.VSCE_PAT }}
21+
run: npx semantic-release
22+
- id: versionSet
23+
run: echo "tag_name=v"$(cat $VERSION_FILE)"" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)