Skip to content

fix: update version + deps #101

fix: update version + deps

fix: update version + deps #101

Workflow file for this run

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