Updated error messages #14
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: Deno | |
on: push | |
permissions: | |
contents: write | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup repo | |
uses: actions/checkout@v3 | |
- name: Setup Deno | |
uses: denoland/setup-deno@v1 | |
with: | |
deno-version: v1.42.1 | |
- name: Verify formatting | |
run: deno fmt --check | |
- name: Verify linting | |
run: deno lint | |
- name: Build | |
run: mkdir dist | |
&& deno compile --unstable-net --no-check --allow-all --target x86_64-apple-darwin --output dist/apw-x86_64-apple-darwin src/cli.ts | |
&& deno compile --unstable-net --no-check --allow-all --target aarch64-apple-darwin --output dist/apw-aarch64-apple-darwin src/cli.ts | |
- name: Release | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: dist/* |