Skip to content

Workflow file for this run

name: Create and Upload Artifact
on:
pull_request:
types: [opened, synchronize]
jobs:
do-thing:
runs-on: ubuntu-latest
steps:
- run: echo ${{ toJson(github) }}
create-artifact:
runs-on: ubuntu-latest
needs: do-thing
if: github.event_name == 'true'
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: artifact-dir
path: dir/subdir