This commit is contained in:
Josh Soref 2025-03-19 11:48:17 +09:00 committed by GitHub
commit b5a08e5120
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 93 additions and 12 deletions

View file

@ -6,6 +6,9 @@
# We need to make sure the checked-in `index.js` actually matches what we expect it to be.
name: Check dist/
permissions:
contents: read
on:
push:
branches:

View file

@ -1,5 +1,9 @@
name: "Code scanning - action"
permissions:
contents: read
security-events: write
on:
push:
branches-ignore: "dependabot/**"

View file

@ -1,5 +1,8 @@
name: Licensed
permissions:
contents: read
on:
push:
branches:
@ -9,7 +12,7 @@ on:
- main
jobs:
test:
licenses:
runs-on: ubuntu-latest
name: Check licenses
steps:

View file

@ -7,9 +7,12 @@ on:
paths-ignore:
- '**.md'
permissions:
contents: read
jobs:
build:
name: Build
test:
name: Build and Test
strategy:
matrix:
@ -115,6 +118,29 @@ jobs:
path: single/directory
merge-multiple: true
- name: Request missing Artifact
id: request-missing-artifact
uses: ./
with:
name: nonexistent
warn-on-failure: true
- name: Check missing warning
env:
output: ${{ steps.request-missing-artifact.outputs.failure }}
if: ${{ !contains(env.output, 'Unable to download artifact(s):') }}
run: |
false
shell: bash
- name: Log missing warning
env:
output: ${{ steps.request-missing-artifact.outputs.failure }}
run_os: ${{ matrix.runs-on }}
run: |
echo "::notice title=This message is expected::[$run_os] $output"
shell: bash
- name: Verify successful download
run: |
$fileA = "single/directory/file-A.txt"