Skip to content

Build Dart binaries & package Alfred Workflow #14

Build Dart binaries & package Alfred Workflow

Build Dart binaries & package Alfred Workflow #14

Workflow file for this run

name: Build Dart binaries & package Alfred Workflow
on:
workflow_dispatch:
jobs:
build:
runs-on: macos-13
steps:
- name: Show the architecture
run: uname -m
- uses: actions/checkout@v3
- uses: dart-lang/[email protected]
- name: Install dependencies
run: dart pub get
- name: Compile the app
run: ./r.sh build
- name: Capture the artifact name
run: |
artifact_name=`ls *.alfredworkflow | tr -d '\n'`
echo "artifact_name=$artifact_name" >> $GITHUB_ENV
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: ${{ env.artifact_name }}
path: ${{ env.artifact_name }}