File tree Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Expand file tree Collapse file tree 1 file changed +21
-4
lines changed Original file line number Diff line number Diff line change 4242 - name : Run tests
4343 run : make run-all-tests
4444
45- deploy :
45+ deploy-rscel :
4646 runs-on : ubuntu-latest
4747 needs : test-all
4848 if : success() && github.ref == 'refs/heads/main'
5959 - name : Copy Readme
6060 run : cp README.md rscel/README.md
6161
62- - name : publish rscel-macro
63- run : cargo publish -p rscel-macro --token ${{ secrets.CRATES_IO_API_KEY }}
64-
6562 - name : publish rscel
6663 run : cargo publish -p rscel --token ${{ secrets.CRATES_IO_API_KEY }}
64+
65+ deploy-rscel-macro :
66+ runs-on : ubuntu-latest
67+ needs : test-all
68+ if : success() && github.ref == 'refs/heads/main'
69+ steps :
70+ - uses : actions/checkout@v3
71+
72+ - uses : Swatinem/rust-cache@v2
73+
74+ - uses : actions-rs/toolchain@v1
75+ with :
76+ toolchain : stable
77+ override : true
78+
79+ - name : Copy Readme
80+ run : cp README.md rscel/README.md
81+
82+ - name : publish rscel-macro
83+ run : cargo publish -p rscel-macro --token ${{ secrets.CRATES_IO_API_KEY }}
You can’t perform that action at this time.
0 commit comments