You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rulebot/.gitea/workflows/publish_package.yaml

25 lines
784 B
YAML

2 years ago
name: Publish Cargo package
run-name: ${{ github.actor }} is building ${{ github.repository }}
2 years ago
on:
push:
branches:
- main
2 years ago
2 years ago
jobs:
Publish-Cargo:
runs-on: ubuntu-latest
steps:
2 years ago
- 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 }}."
2 years ago
- name: Install Rust
2 years ago
run: |
2 years ago
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
2 years ago
source "$HOME/.cargo/env"
2 years ago
2 years ago
- name: Check out repository code
uses: actions/checkout@v3
2 years ago
2 years ago
- name: Publish
run: cargo run -r