Skip to content

Commit 53f7bbe

Browse files
authored
Merge pull request #581 from github/copilot/debugger-actions-workflow
Add debugger build workflow and README install instructions
2 parents 7f1f776 + 2bf20c6 commit 53f7bbe

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Build Debugger Extension
2+
3+
on:
4+
push:
5+
branches:
6+
- debugger
7+
8+
permissions:
9+
contents: read
10+
packages: read
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- uses: actions/setup-node@v4
20+
with:
21+
node-version: 16.x
22+
cache: "npm"
23+
registry-url: "https://npm.pkg.github.com"
24+
25+
- run: npm --no-git-tag-version version 0.0.${{ github.run_number }}
26+
27+
- run: npm ci
28+
env:
29+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
31+
- name: Create a package.json without scoped name
32+
run: |
33+
cp package.json package.json.real
34+
sed --regexp-extended '/"name"\s*:/ s#@[a-zA-Z\\-]+/##' package.json.real > package.json
35+
36+
- run: npm run package
37+
38+
- uses: actions/upload-artifact@v4
39+
with:
40+
name: vscode-github-actions-debugger
41+
path: ./vscode-github-actions-0.0.${{ github.run_number }}.vsix

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# GitHub Actions for VS Code
22

3+
> **🐛 Actions Job Debugger (Preview):** To try the latest debugger build, download the `.vsix` artifact from the most recent [Build Debugger Extension](https://github.com/github/vscode-github-actions/actions/workflows/debugger-build.yml) workflow run. On the workflow run page, scroll to **Artifacts** and download **vscode-github-actions-debugger**. Then install it in VS Code by running `code --install-extension <path-to-downloaded.vsix>` or via the Extensions view → `` menu → **Install from VSIX…**.
4+
35
The GitHub Actions extension lets you manage your workflows, view the workflow run history, and helps with authoring workflows.
46

57
![](./media/header.png)

0 commit comments

Comments
 (0)