File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build Stable Rust
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' 0 2 * * 3'
7+
8+ jobs :
9+ test :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v2
13+ - run : |
14+ make build
15+ make test
16+ env:
17+ RUST_VERSION: stable
18+ publish :
19+ needs : [test]
20+ if : github.repository == 'rust-serverless/lambda-rust'
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v2
24+ - run : make publish-tag
25+ env :
26+ RUST_VERSION : stable
27+ create_issue :
28+ runs-on : ubuntu-latest
29+ needs : [publish]
30+ if : always() && (needs.publish.result == 'failure')
31+ steps :
32+ - run : gh issue create --title "Stable publication failed" --body "Stable publication failed" --label "bug" -R $GITHUB_REPOSITORY
33+ env :
34+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
35+
You can’t perform that action at this time.
0 commit comments