Files
marginal/.gitea/workflows/cargo-release.yml
Workflow config file is invalid. Please check your config file: yaml: line 18: mapping values are not allowed in this context
2025-12-23 23:19:02 +02:00

23 lines
586 B
YAML

name: Create release package
on:
push:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
release:
name: Release
runs-on: rust-latest
steps:
- run: export TEST_TOKEN="${{ secrets.TEST }}"
- run: echo $TEST_TOKEN
- run: echo "Straight in: ${{ secrets.TEST }}"
- run: git clone https://git.jlux.dev/${{ gitea.repository }} . && git checkout ${{ gitea.ref_name }}
- run: cargo build --verbose --release
- run: export CARGO_REGISTRIES_GITEA_TOKEN="${{ secrets.CARGO_TOKEN }}"
- run: cargo publish --registry gitea