Files
actions-custom-js/.gitea/workflows/test.yml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 21: mapping values are not allowed in this context

21 lines
676 B
YAML

name: Test
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Get code
uses: actions/checkout@v3
# NPM Install is not needed as Custom JS Actions require the node_modules folder commited in the repository
#- name: NPM Install
# run: npm ci
- name: Test Custom JS Action (Print Fibonacci Numbers)
id: fibo
uses: https://gitea.coursow.de/Test-Playground/actions-custom-js@master
with:
iterations: 8
- name: Show last Printed Number
run: echo "The Last fibonacci number printed by the previous step was: ${{ steps.fibo.outputs.lastNumber }}"