Skip to content

Commit

Permalink
ci: fix typos & script shell
Browse files Browse the repository at this point in the history
  • Loading branch information
outloudvi committed Jan 26, 2024
1 parent 78945bc commit e0ae8b3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- macos-13
- macos-12
- macos-11
- window-2022
- windows-2022
- windows-2019
name: "Test: Simple"
runs-on: ${{ matrix.os }}
Expand All @@ -28,6 +28,7 @@ jobs:
auto-match: true

- name: Display the file
shell: bash
run: head -n8 public/actions-download-file

test_filename:
Expand All @@ -39,7 +40,7 @@ jobs:
- macos-13
- macos-12
- macos-11
- window-2022
- windows-2022
- windows-2019
name: "Test: With the filename"
runs-on: ${{ matrix.os }}
Expand All @@ -55,6 +56,7 @@ jobs:
filename: api-result.json

- name: Display the file
shell: bash
run: head -n8 public/api-result.json

test_output_filename:
Expand All @@ -66,7 +68,7 @@ jobs:
- macos-13
- macos-12
- macos-11
- window-2022
- windows-2022
- windows-2019
name: "Test: Check the output filename"
runs-on: ${{ matrix.os }}
Expand All @@ -80,5 +82,6 @@ jobs:
target: public/
auto-match: true

- name: Check output filename
- name: Check output filename (Linux/macOS)
shell: bash
run: "[ 'actions-download-file' = '${{ steps.downloadfile.outputs.filename }}' ] && echo 'OK' || exit 1"

0 comments on commit e0ae8b3

Please sign in to comment.