end-to-end/actions/example-docker-action/.forgejo/workflows/test.yml
Earl Warren 7ccbeb7a46
All checks were successful
/ actions (map[image:codeberg.org/forgejo-experimental/forgejo tests:${{ vars.V1_21_TESTS || 'echo push-cancel artifacts service checkout pull-request container expression local-action docker-action if if-fail cron' }} version:1.21.0-5-rc2]) (push) Successful in 8m14s
/ actions (map[image:codeberg.org/forgejo/forgejo tests:${{ vars.V1_20_TESTS || 'echo checkout service container expression local-action docker-action if if-fail' }} version:1.20]) (push) Successful in 5m5s
upgrade / upgrade (push) Successful in 7m44s
Fogejo Actions tests
2023-10-29 00:03:57 +02:00

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