hopefully it works #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 GitHub Actions / Generate Tech TreeInvalid workflow file
|
||
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 |