Skip to content

Commit

Permalink
fix(cd): copy the configuration file to embed into package
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Aug 18, 2021
1 parent a067433 commit 68dda36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,18 @@ jobs:
uses: actions/checkout@main
- name: Set the release version
run: echo "RELEASE_VERSION=${GITHUB_REF:11}" >> $GITHUB_ENV
- name: Prepare the files to embed
run: |
mkdir -p target/package/config/
cp config/cliff.toml target/package/config/
- name: Publish the library
uses: actions-rs/cargo@v1
with:
command: publish
args: |
--manifest-path git-cliff-core/Cargo.toml
--locked --token ${{ secrets.CARGO_TOKEN }}
- name: Wait for core library to update
- name: Wait for library to update
shell: bash
run: |
crate_status="https://raw.githubusercontent.com/rust-lang/crates.io-index/master/gi/t-/git-cliff-core"
Expand Down

0 comments on commit 68dda36

Please sign in to comment.