mirror of
https://github.com/actions/checkout.git
synced 2025-03-31 05:20:06 +02:00
28 lines
511 B
YAML
28 lines
511 B
YAML
name: Build and Test
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- releases/*
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2-beta
|
|
|
|
# Basic checkout
|
|
- name: Basic checkout
|
|
id: foo
|
|
uses: ./
|
|
with:
|
|
repository: actions/checkout
|
|
ref: test-data/v2/basic
|
|
path: basic
|
|
|
|
- run: |
|
|
echo bar is "${{ steps.foo.outputs.bar }}"
|
|
env:
|
|
bar: ${{ toJson(github.event) }}
|