mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-17 21:46:56 +08:00
ci/Tip: preprend subdir 'tip' to 'uses' fields
This commit is contained in:
20
.github/workflows/Tip.yml
vendored
20
.github/workflows/Tip.yml
vendored
@@ -25,14 +25,14 @@ jobs:
|
|||||||
- run: echo "Build some tool and generate some (versioned) artifacts" > artifact-$(date -u +"%Y-%m-%dT%H-%M-%SZ").txt
|
- run: echo "Build some tool and generate some (versioned) artifacts" > artifact-$(date -u +"%Y-%m-%dT%H-%M-%SZ").txt
|
||||||
|
|
||||||
- name: Single
|
- name: Single
|
||||||
uses: ./
|
uses: ./tip
|
||||||
with:
|
with:
|
||||||
rm: true
|
rm: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: artifact-*.txt
|
files: artifact-*.txt
|
||||||
|
|
||||||
- name: List
|
- name: List
|
||||||
uses: ./
|
uses: ./tip
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: |
|
files: |
|
||||||
@@ -46,7 +46,7 @@ jobs:
|
|||||||
touch artifacts/empty_file.txt
|
touch artifacts/empty_file.txt
|
||||||
|
|
||||||
- name: Single in subdir
|
- name: Single in subdir
|
||||||
uses: ./
|
uses: ./tip
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: artifacts/artifact.txt
|
files: artifacts/artifact.txt
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
echo "tip world" > artifacts/world.md
|
echo "tip world" > artifacts/world.md
|
||||||
|
|
||||||
- name: Directory wildcard
|
- name: Directory wildcard
|
||||||
uses: ./
|
uses: ./tip
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: artifacts/*
|
files: artifacts/*
|
||||||
@@ -68,7 +68,7 @@ jobs:
|
|||||||
echo "Test recursive glob" > artifacts/subdir/deep_file.txt
|
echo "Test recursive glob" > artifacts/subdir/deep_file.txt
|
||||||
|
|
||||||
- name: Directory wildcard (recursive)
|
- name: Directory wildcard (recursive)
|
||||||
uses: ./
|
uses: ./tip
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: artifacts/**
|
files: artifacts/**
|
||||||
@@ -83,14 +83,14 @@ jobs:
|
|||||||
- run: echo "Build some tool and generate some (versioned) artifacts" > artifact-$(date -u +"%Y-%m-%dT%H-%M-%SZ").txt
|
- run: echo "Build some tool and generate some (versioned) artifacts" > artifact-$(date -u +"%Y-%m-%dT%H-%M-%SZ").txt
|
||||||
|
|
||||||
- name: Single
|
- name: Single
|
||||||
uses: ./composite
|
uses: ./tip/composite
|
||||||
with:
|
with:
|
||||||
rm: true
|
rm: true
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: artifact-*.txt
|
files: artifact-*.txt
|
||||||
|
|
||||||
- name: List
|
- name: List
|
||||||
uses: ./composite
|
uses: ./tip/composite
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: |
|
files: |
|
||||||
@@ -104,7 +104,7 @@ jobs:
|
|||||||
touch artifacts/empty_file.txt
|
touch artifacts/empty_file.txt
|
||||||
|
|
||||||
- name: Single in subdir
|
- name: Single in subdir
|
||||||
uses: ./composite
|
uses: ./tip/composite
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: artifacts/artifact.txt
|
files: artifacts/artifact.txt
|
||||||
@@ -115,7 +115,7 @@ jobs:
|
|||||||
echo "tip world" > artifacts/world.md
|
echo "tip world" > artifacts/world.md
|
||||||
|
|
||||||
- name: Directory wildcard
|
- name: Directory wildcard
|
||||||
uses: ./composite
|
uses: ./tip/composite
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: artifacts/*
|
files: artifacts/*
|
||||||
@@ -126,7 +126,7 @@ jobs:
|
|||||||
echo "Test recursive glob" > artifacts/subdir/deep_file.txt
|
echo "Test recursive glob" > artifacts/subdir/deep_file.txt
|
||||||
|
|
||||||
- name: Directory wildcard (recursive)
|
- name: Directory wildcard (recursive)
|
||||||
uses: ./composite
|
uses: ./tip/composite
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
files: artifacts/**
|
files: artifacts/**
|
||||||
|
|||||||
Reference in New Issue
Block a user