File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Package and Release
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ run-tests :
10+ name : Release package
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - name : Checkout code
15+ uses : actions/checkout@v2
16+
17+ - name : Install modular
18+ run : |
19+ curl -s https://get.modular.com | sh -
20+ modular auth examples
21+
22+ - name : Install Mojo
23+ run : modular install mojo
24+
25+ - name : Add to PATH
26+ run : echo "/home/runner/.modular/pkg/packages.modular.com_mojo/bin" >> $GITHUB_PATH
27+
28+ - name : Create package
29+ run : mojo lightbug_http src -o lightbug_http.mojopkg
30+
31+ - name : Upload package to release
32+ uses : svenstaro/upload-release-action@v2
33+ with :
34+ repo_token : ${{ secrets.TOKEN }}
35+ file : lightbug_http.mojopkg
36+ tag : latest-build
37+ overwrite : true
You can’t perform that action at this time.
0 commit comments