diff --git a/.forgejo/workflows/test-action.yml b/.forgejo/workflows/test-action.yml new file mode 100644 index 0000000..e91b832 --- /dev/null +++ b/.forgejo/workflows/test-action.yml @@ -0,0 +1,20 @@ +name: artifact-probe +on: workflow_dispatch +jobs: + up: + runs-on: docker-amd64 + container: + image: node:lts-bookworm + steps: + - run: echo "hello" > /tmp/probe.txt + - uses: https://github.com/actions/upload-artifact@v4 + with: { name: probe, path: /tmp/probe.txt } + down: + needs: up + runs-on: docker-amd64 + container: + image: node:lts-bookworm + steps: + - uses: https://github.com/actions/download-artifact@v4 + with: { name: probe, path: /tmp/got } + - run: cat /tmp/got/probe.txt \ No newline at end of file