File tree Expand file tree Collapse file tree 2 files changed +44
-19
lines changed
Expand file tree Collapse file tree 2 files changed +44
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Publish Release
2+
3+ on :
4+ release :
5+ types : [created]
6+
7+ jobs :
8+ build-and-publish :
9+ runs-on : ubuntu-latest
10+ steps :
11+ - name : Checkout code
12+ uses : actions/checkout@v3
13+
14+ - name : Set up Node.js
15+ uses : actions/setup-node@v3
16+ with :
17+ node-version : ' 22'
18+ registry-url : ' https://registry.npmjs.org'
19+
20+ - name : Checkout github/workbench-template
21+ uses : actions/checkout@v3
22+ with :
23+ repository : github/workbench-template
24+ path : .
25+ token : ${{ secrets.RELEASE_GITHUB_PAT }}
26+
27+ - name : Set up Go
28+ uses : actions/setup-go@v4
29+ with :
30+ go-version : ' 1.21'
31+
32+ - name : Run build script
33+ env :
34+ RELEASE_GITHUB_PAT : ${{ secrets.RELEASE_GITHUB_PAT }}
35+ run : |
36+ chmod +x ./build/build-release.sh
37+ ./build/build-release.sh
38+
39+ - name : Create Release and Upload Assets
40+ uses : softprops/action-gh-release@v1
41+ with :
42+ files : ./spark-sdk-dist/*
43+ env :
44+ GITHUB_TOKEN : ${{ secrets.RELEASE_GITHUB_PAT }}
You can’t perform that action at this time.
0 commit comments