mirror of
https://github.com/drewcassidy/vector-victor.git
synced 2024-09-01 14:58:35 +00:00
allow test to continue if changelog isn't ready yet.
This commit is contained in:
parent
93b9c24f98
commit
99ea5415ec
16
.github/workflows/cargo-test-publish.yaml
vendored
16
.github/workflows/cargo-test-publish.yaml
vendored
@ -13,13 +13,9 @@ jobs:
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Generate changelog info
|
||||
run: |
|
||||
# todo: make this part of yaclog!
|
||||
- name: Setup Python Tools
|
||||
run:
|
||||
pip install yaclog~=1.1
|
||||
yaclog show
|
||||
echo "VERSION_TITLE=$(yaclog show -n)" >> $GITHUB_ENV
|
||||
echo "$(yaclog show -mb)" >> /tmp/RELEASE.md
|
||||
|
||||
- name: Setup Rust toolchain
|
||||
uses: actions-rs/toolchain@v1
|
||||
@ -36,6 +32,14 @@ jobs:
|
||||
- name: Run Unit Tests
|
||||
run: cargo test
|
||||
|
||||
- name: Generate changelog info
|
||||
continue-on-error: true
|
||||
run: |
|
||||
# todo: make this part of yaclog!
|
||||
echo "VERSION_TITLE=$(yaclog show -n)" >> $GITHUB_ENV
|
||||
echo "$(yaclog show -mb)" >> /tmp/RELEASE.md
|
||||
yaclog show
|
||||
|
||||
- name: Publish to Crates.io
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
||||
run: cargo publish --token ${{ secrets.CARGO_TOKEN }}
|
||||
|
@ -1,3 +1,7 @@
|
||||
# Changelog
|
||||
|
||||
All notable changes to this project will be documented in this file
|
||||
All notable changes to this project will be documented in this file
|
||||
|
||||
## Unreleased
|
||||
|
||||
initial commit
|
Loading…
Reference in New Issue
Block a user