Skip to content

Trying download in separate job. #23

Trying download in separate job.

Trying download in separate job. #23

Workflow file for this run

name: build
on:
push:
paths:
- '.github/workflows/build.yml'
- 'custom-prompt/**'
workflow_dispatch:
jobs:
build:
name: build on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-13, macos-14, ubuntu-22.04, windows-2022]
defaults:
run:
working-directory: custom-prompt
steps:
- uses: actions/checkout@v4
- if: runner.os == 'Linux'
run: sudo apt install libnotify-dev
- run: make -j release CC=gcc
- if: runner.os == 'Linux'
run: tar czf custom-prompt-amd64-linux.tgz *-prompt
- if: matrix.os == 'macos-13'
run: tar czf custom-prompt-amd64-darwin.tgz *-prompt
- if: matrix.os == 'macos-14'
run: tar czf custom-prompt-aarch64-darwin.tgz *-prompt
- if: runner.os == 'Windows'
run: |
7z a -ttar custom-prompt-amd64-windows.tar *-prompt.exe
7z a -tgzip custom-prompt-amd64-windows.tgz *.tar
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: 'custom-prompt/*.tgz'
release:
runs-on: ubuntu-22.04
- uses: actions/download-artifact@v4

Check failure on line 40 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 40
- run: ls -l