Skip to content

update docs

update docs #1

name: acceptance-single-artifact-dir
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
permissions: {}
jobs:
build:
permissions: {}
runs-on: ubuntu-latest
outputs:
artifact-id: ${{ steps.upload-artifact.outputs.artifact-id }}
steps:
- name: create test artifact
run: |
mkdir -p dist
echo "test artifact" > dist/test-artifact.txt
- name: upload artifact
uses: actions/[email protected]
id: upload-artifact
with:
name: single-test-artifact-dir
path: dist/
if-no-files-found: error
sign:
needs: build
permissions:
id-token: write
attestations: write
contents: read
uses: ./.github/workflows/sign-artifact.yml
with:
artifact-ids: ${{ needs.build.outputs.artifact-id }} # partially uses id here and name below
artifact-path: "."
verify:
needs: sign
uses: ./.github/workflows/verify.yml
with:
name: single-test-artifact-dir
artifact-path: "."