mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-28 01:01:05 -05:00
20 lines
509 B
YAML
20 lines
509 B
YAML
|
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
|