Add actions-demo.yml
This commit is contained in:
parent
fcbf4534c9
commit
7e54136a3a
17
.forgejo/workflows/actions-demo.yml
Normal file
17
.forgejo/workflows/actions-demo.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
name: Actions Demo
|
||||||
|
run-name: Testing out Actions 🚀
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
get-changed-folders:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: get-changed-folders
|
||||||
|
id: get_changed
|
||||||
|
uses: Stockopedia/action-get-changed-files@v2.0.0
|
||||||
|
with:
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
ignore: "**/+(.forgejo)"
|
||||||
|
foldersOnly: true
|
||||||
|
- name: Echo changed files
|
||||||
|
run: echo ${{ steps.get_changed.outputs.changed }}
|
||||||
|
|
||||||
Loading…
Reference in a new issue