File tree Expand file tree Collapse file tree 1 file changed +3
-20
lines changed
Expand file tree Collapse file tree 1 file changed +3
-20
lines changed Original file line number Diff line number Diff line change 11name : Test and build
22
33on :
4- push :
5- branches :
6- - main
4+ release :
5+ types : [created]
76
87jobs :
9- test :
10- runs-on : ubuntu-latest
11-
12- steps :
13- - uses : actions/checkout@v2
14- - uses : webfactory/ssh-agent@v0.5.3
15- with :
16- ssh-private-key : ${{ secrets.DEPLOY_KEY_SECRET }}
17- - name : Run
18- run : cargo test
19-
208 release :
219 name : release ${{ matrix.target }}
2210 runs-on : ubuntu-latest
23- needs : test
2411 strategy :
2512 fail-fast : false
2613 matrix :
@@ -34,15 +21,11 @@ jobs:
3421
3522 steps :
3623 - uses : actions/checkout@master
37- - uses : webfactory/ssh-agent@v0.5.3
38- with :
39- ssh-private-key : ${{ secrets.DEPLOY_KEY_SECRET }}
40-
4124 - name : Compile and release
4225 uses : rust-build/rust-build.action@v1.3.2
4326 env :
4427 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
45- SRC_DIR : proxy_client
28+ SRC_DIR : ownserver
4629 with :
4730 RUSTTARGET : ${{ matrix.target }}
4831 ARCHIVE_TYPES : ${{ matrix.archive }}
You can’t perform that action at this time.
0 commit comments