File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 77 build :
88 runs-on : macos-latest
99 steps :
10- - uses : actions/checkout@v3
10+ - uses : actions/checkout@v4
1111
1212 - name : Setup Homebrew
1313 uses : Homebrew/actions/setup-homebrew@master
@@ -16,27 +16,27 @@ jobs:
1616 run : brew install go-task
1717
1818 - name : Setup Rust Toolchain
19- uses : ATiltedTree /setup-rust@v1
19+ uses : actions-rust-lang /setup-rust-toolchain @v1
2020 with :
21- rust-version : nightly
22- targets : ' aarch64-apple-darwin x86_64-apple-darwin'
21+ toolchain : nightly
22+ target : ' x86_64-apple-darwin'
23+
24+ - name : Setup Rust Cache
25+ uses : Swatinem/rust-cache@v2
2326
2427 - name : Build
2528 run : task build-universal
2629
2730 - name : Upload Artifact
28- uses : actions/upload-artifact@v3
31+ uses : actions/upload-artifact@v4
2932 with :
3033 name : swift-precompiler
3134 path : target/swift-precompiler
3235
33- - uses : sarisia/actions-status-discord@v1
34- if : always()
35- with :
36- webhook : ${{ secrets.DISCORD_WEBHOOK }}
37- status : ${{ job.status }}
38- title : " deploy"
39- description : " Build swift-precompiler"
40- url : " https://github.com/ciderapp/swift-precompiler/actions"
41- username : GitHub Actions
42- avatar_url : " https://avatars.githubusercontent.com/u/87914859?s=200&v=4"
36+ - name : Publish
37+ # https://doc.rust-lang.org/cargo/reference/config.html?highlight=CARGO_REGISTRY_TOKEN#credentials
38+ run : |
39+ cargo publish
40+ --verbose
41+ --locked
42+ --token ${{ secrets.CARGO_REGISTRY_TOKEN }}
You can’t perform that action at this time.
0 commit comments