loadstar/.gitea/workflows/publish.yaml
Renovate 7b122b95e9
Some checks failed
Cargo Build & Test / Tests (pull_request) Successful in 10s
Cargo Build & Test / Test publish (pull_request) Successful in 20s
Cargo Build & Test / check-cargo-version (pull_request) Failing after 7s
chore(deps): update actions/checkout digest to eef6144
2024-10-07 18:01:51 +00:00

27 lines
816 B
YAML

name: Cargo Build & Test
on:
push:
branches:
- main
jobs:
can-publish:
container: git.kjan.de/actions/rust-node@sha256:49fb2dad7814507334a38ea36ec2852a552cebc5b421ec22295d8a01421cd435
name: Test publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- name: ⚡ Cache
uses: https://git.kjan.de/actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target/release/deps
target/release/build
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}-loadstar
- run: cargo login ${{ secrets.CRATES_IO_TOKEN }}
- run: cargo publish