Skip to content

Updated file path

Updated file path #6

Workflow file for this run

name: Deno
on: push
permissions:
contents: read
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.41.1
- name: Verify formatting
run: deno fmt --check
- name: Verify formatting
run: deno fmt --check
- 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/*