Fogejo Actions tests
This commit is contained in:
parent
d255395fc8
commit
7ccbeb7a46
34 changed files with 764 additions and 1 deletions
19
actions/example-docker-action/.forgejo/workflows/test.yml
Normal file
19
actions/example-docker-action/.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,19 @@
|
|||
on: [push]
|
||||
|
||||
jobs:
|
||||
ls:
|
||||
runs-on: docker
|
||||
steps:
|
||||
#
|
||||
# This Docker action creates the file SOMEFILE ...
|
||||
#
|
||||
- uses: https://code.forgejo.org/forgejo/test-setup-forgejo-docker@main
|
||||
with:
|
||||
args: ${{ github.workspace }}/SOMEFILE
|
||||
#
|
||||
# ... which then also exists in the job workspace
|
||||
# because both docker containers are automatically
|
||||
# sharing the volume that contains it.
|
||||
#
|
||||
- run: |
|
||||
test -f ${{ github.workspace }}/SOMEFILE
|
Loading…
Add table
Reference in a new issue