28 lines
595 B
YAML
28 lines
595 B
YAML
on: [push]
|
|
jobs:
|
|
job:
|
|
runs-on: docker
|
|
container:
|
|
image: debian:bookworm
|
|
steps:
|
|
- name: Clone CD
|
|
run: |
|
|
echo '${{vars.dns}}' > '/etc/resolv.conf'
|
|
apt-get update
|
|
apt-get install --yes 'git'
|
|
git clone "${GITHUB_SERVER_URL}/rwx.work/cd" '/cd'
|
|
|
|
- run: /cd/env
|
|
|
|
- name: Install tools
|
|
run: |
|
|
apt-get install --yes \
|
|
'pandoc' \
|
|
|
|
- run: /cd/branch
|
|
- run: /cd/build
|
|
- run: /cd/workspace
|
|
- run: /cd/sync
|
|
|
|
- run: echo "${PATH}"
|
|
- run: ls -al /usr/local/bin
|