-
Notifications
You must be signed in to change notification settings - Fork 118
55 lines (42 loc) · 1.27 KB
/
Copy pathreport-artifact-pr.yml
File metadata and controls
55 lines (42 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: Report VSIX Artifact in PR
on:
pull_request:
paths:
- packages/zowe-explorer/**
- packages/zowe-explorer-api/**
- packages/zowex-for-zowe-explorer/**
- .github/workflows/report-artifact-pr.yml
- .github/resources/artifact-template.hbs
permissions:
contents: write
pull-requests: write
jobs:
build-ze-artifact:
runs-on: ubuntu-22.04
timeout-minutes: 60
if: (!contains(github.event.head_commit.message, '[ci skip]'))
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Use Node.js LTS
uses: actions/setup-node@v4
with:
node-version: lts/-1
- run: npm install -g pnpm
- run: pnpm config set fetchTimeout 60000 && pnpm install
- run: pnpm build
id: build
- name: Package VSIX
run: pnpm package
working-directory: packages/zowe-explorer
- name: Archive VSIX artifact
uses: actions/upload-artifact@v4
with:
name: zowe-explorer-vsix
path: dist/*.vsix
- name: Report VSIX artifact
uses: bitonality/PRtifact@v0.1.0
continue-on-error: true
with:
comment-mode: 'CreateOrUpdate'
handlebars-template: '.github/resources/artifact-template.hbs'