allow test to continue if changelog isn't ready yet.

master
Andrew Cassidy 1 year ago
parent 93b9c24f98
commit 99ea5415ec

@ -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…
Cancel
Save