|
|
@ -9,11 +9,17 @@ jobs:
|
|
|
|
Publish-Cargo:
|
|
|
|
Publish-Cargo:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
|
|
|
|
- run: echo "The job was automatically triggered by a ${{ github.event_name }} event."
|
|
|
|
|
|
|
|
- run: echo "This job is now running on a ${{ runner.os }}."
|
|
|
|
|
|
|
|
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install Rust
|
|
|
|
- name: Install Rust
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
|
|
|
|
source "$HOME/.cargo/env"
|
|
|
|
source "$HOME/.cargo/env"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Check out repository code
|
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
|
|
|
|
- name: Publish
|
|
|
|
- name: Publish
|
|
|
|
run: cargo run -r
|
|
|
|
run: cargo run -r
|