pop the last stash off the stack if it exists #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
test_single: | |
name: Test single checkout | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/[email protected] | |
- name: Create test file | |
run: date > test.txt | |
- name: Commit | |
uses: ./ | |
with: | |
message: Create test file for single repos | |
branch: test-single-repo | |
force: true | |
test_multi: | |
name: Test multi checkout | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/[email protected] | |
with: | |
path: repo | |
- name: Create test file | |
run: date > repo/test.txt | |
- name: Commit | |
uses: ./repo | |
with: | |
message: Create test file for multi repos | |
branch: test-multi-repo | |
force: true | |
directory: repo | |
test_multi_absolute: | |
name: Test multi checkout (absolute path) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/[email protected] | |
with: | |
path: repo | |
- name: Create test file | |
run: date > repo/test.txt | |
- name: Commit | |
uses: ./repo | |
with: | |
message: Create test file for multi repos (absolute path) | |
branch: test-multi-repo-absolute | |
force: true | |
directory: /home/runner/work/commit/commit/repo |