30 lines
683 B
YAML
30 lines
683 B
YAML
name: Named workflow
|
|
|
|
on:
|
|
push:
|
|
branches: ["main"]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
|
|
steps:
|
|
# - name: 'FIX: fetch actions/checkout@v4'
|
|
# run: curl -vL --create-dirs -o /var/run/act/actions/actions-checkout@v4/dist/index.js https://raw.githubusercontent.com/actions/checkout/main/dist/index.js
|
|
|
|
- name: Setup repo
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Check actions output
|
|
if: always()
|
|
run: ls -lahR /run/act
|
|
|
|
- name: Check workflow files
|
|
if: always()
|
|
run: cat /run/act/workflow/*
|
|
|
|
- name: Check repo
|
|
run: ls -lah
|
|
|
|
- name: Test secrets
|
|
run: echo ${{ secrets.SSH_Key_sample }} |