test-forgejo-runner/.forgejo/workflows/demo.yaml
julien.oculi d392280470
All checks were successful
UiNamed workflow / test (push) Successful in 7s
Update .forgejo/workflows/demo.yaml
2025-02-22 01:12:31 +01:00

38 lines
772 B
YAML

name: UiNamed workflow
on:
push:
branches: ["main"]
jobs:
test:
runs-on: docker
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Check repo
run: ls -lah
- name: Test secrets
run: echo ${{ secrets.SSH_Key_sample }}
- name: Setup deno
run: curl -fsSL https://deno.land/install.sh | DENO_INSTALL=/usr/local sh
- name: Test set variable
id: build
run: |
{
echo "BUILD<<EOF"
deno eval "console.log(JSON.stringify(Deno.build, null, '\n'))"
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Test get variable
run: echo '${{ steps.build.outputs.BUILD }}'
- name: Test deno
run: deno --version