Skip to content

Downgrade env_logger for better compatibility #31

Downgrade env_logger for better compatibility

Downgrade env_logger for better compatibility #31

Workflow file for this run

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"