fix: update version + deps #101
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
on: [push] | |
name: build-osx | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: build | |
uses: actions-rs/cargo@v1 | |
with: | |
command: build | |
- name: test | |
uses: actions-rs/cargo@v1 | |
with: | |
command: test | |
- name: e2e-test | |
run: | | |
echo "testing bash" | |
bash scripts/e2e-test.sh bash | |
echo "testing zsh" | |
zsh scripts/e2e-test.sh zsh | |
echo "testing run" | |
zsh scripts/e2e-test-run.sh | |
- name: build-release | |
if: startsWith(github.ref, 'refs/tags/') | |
run: | | |
cargo build --release | |
cp ./target/release/tome ./target/release/tome-osx | |
- name: release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: ./target/release/tome-osx | |
token: ${{ secrets.GITHUB_TOKEN }} | |
draft: true |