Downgrade env_logger for better compatibility #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release | |
on: | |
push: | |
tags: | |
- '*' | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: hecrj/setup-rust-action@v1 | |
with: | |
rust-version: stable | |
- name: 'Vendor Rust Dependencies' | |
run: scripts/switch-to-vendored-rust.sh | |
- name: 'Create release artifact' | |
run: | | |
pushd .. | |
cp -r llama llama-${{ github.ref_name }} | |
tar -czf ${{ github.ref_name }}_rust-deps-vendored.tar.gz --exclude=.git llama-${{ github.ref_name }} | |
popd | |
mv ../${{ github.ref_name }}_rust-deps-vendored.tar.gz . | |
- uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "*.tar.gz" |