File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Library Artifacts
2+
3+ concurrency :
4+ group : " ${{github.workflow}}-${{github.ref}}"
5+ cancel-in-progress : true
6+
7+ on :
8+ release :
9+ types : [created]
10+ workflow_dispatch :
11+
12+ jobs :
13+ build :
14+ strategy :
15+ matrix :
16+ os : [ubuntu-latest, macos-latest]
17+ runs-on : ${{ matrix.os }}
18+
19+ steps :
20+ - uses : actions/checkout@v3
21+
22+ - name : Set up Ruby
23+ uses : ruby/setup-ruby@v1
24+ with :
25+ ruby-version : ' 3.3'
26+ bundler-cache : true
27+
28+ - name : Build library
29+ run : bundle exec rake compile
30+
31+ - name : Upload to release
32+ if : github.event_name == 'release'
33+ env :
34+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
35+ uses : softprops/action-gh-release@v1
36+ with :
37+ files : |
38+ build/libprism.so
39+ build/libprism.dylib
You can’t perform that action at this time.
0 commit comments