abap2UI5/.github/workflows/test2.yml
oblomov 61d6a23a69
github actions test (#286)
* test action

* Update test2.yml

* Update test2.yml

* Update test2.yml

* Update test2.yml

* Update test2.yml

* Update test2.yml

* Update test2.yml

* Update test2.yml

* Update test2.yml

* Update test2.yml

* Create build_downport.yaml

* Update build_downport.yaml
2023-06-17 12:48:50 +02:00

27 lines
732 B
YAML

name: Use a different repository directory
on:
push:
branches: [_action_test]
jobs:
run:
name: Add a text file
runs-on: ubuntu-latest
steps:
# If you need to, you can check out your repo to a different location
- uses: actions/checkout@v3
with:
path: './pathToRepo/'
# You can make whatever type of change to the repo...
- run: echo "123" > ./pathToRepo/file.txt
# ...and then use the action as you would normally do, but providing the path to the repo
- uses: EndBug/add-and-commit@v9
with:
message: 'Add the very useful text file'
add: '*.txt --force'
cwd: './pathToRepo/'
new_branch: custom-new-branch