origin-shift/.gitea/workflows/CI.yaml
Jan Gleytenhoover 82320f7bb6
Some checks failed
builder / build (push) Failing after 38s
Update .gitea/workflows/CI.yaml
2024-08-16 11:58:28 +00:00

38 lines
904 B
YAML

name: builder
on:
push:
branches:
- "master"
jobs:
build:
runs-on: ubuntu-latest
container:
image: git.kjan.de/actions/rust-node:latest
credentials:
username: ${{ gitea.actor }}
password: ${{ gitea.token }}
steps:
- name: Checkout
uses: https://git.kjan.de/actions/checkout@v4
- name: ⚡ Cache
uses: https://git.kjan.de/actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target/release/deps
target/release/build
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
- name: Build
run: cargo build --release
- name: Upload artifacts
uses: https://git.kjan.de/actions/upload-artifact@v3
with:
name: build
path: target/release/passwd-cooker