33 lines
732 B
YAML
33 lines
732 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: deno eval "Promise.resolve().then(_ => console.log(JSON.stringify(Deno.build, null, '\n'))).then(v => "BUILD=" + v).then(console.log)"
|
|
|
|
- name: Test get variable
|
|
run: echo ${{ steps.build.outputs.BUILD }}
|
|
|
|
- name: Test deno
|
|
run: deno --version
|