Skip to content

hopefully it works

hopefully it works #19

name: Generate Tech Tree
on:
push:
branches: [ master ]
env:
TECH_TREE_DOCKER: ghcr.io/hspsh/tech-tree:issue-10-dockerfile
jobs:
generate-tech-tree:
name: Generate Tech Tree
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run the build process with Docker
uses: addnab/docker-run-action@v3
with:
image: ${{ TECH_TREE_DOCKER }}

Check failure on line 17 in .github/workflows/generate-tree.yaml

View workflow run for this annotation

GitHub Actions / Generate Tech Tree

Invalid workflow file

The workflow is not valid. .github/workflows/generate-tree.yaml (Line: 17, Col: 20): Unrecognized named-value: 'TECH_TREE_DOCKER'. Located at position 1 within expression: TECH_TREE_DOCKER
options: -v ${{ github.workspace }}:/data
run: |
java -jar /app/app.jar /data/tree.yaml > /data/tree.svg
- name: FUCK
run: cat tree.svg
shell: bash
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: updated tree.svg
file_pattern: tree.svg