Comments (3)
I've experienced the same issue recently, and I've found a solution that may help you. Based on what I discovered in this issue #85, it seems that the problem is related to the version of the workflow.
Up until now, I had been using version 2 (V2) of the workflow successfully. However, switching to version 3 (V3) resolved the issue, and the workflow started functioning correctly.
I hope this information proves helpful, and you can resolve the issue by transitioning to version 3 of the workflow! I greatly appreciate this project from @Platane
Greetings!
Thanks, bro! It solved my problem!
This workflow works:
name: generate animation
on:
# run automatically every 24 hours
schedule:
- cron: "0 */24 * * *"
# allows to manually run the job at any time
workflow_dispatch:
# run on every push on the master branch
push:
branches:
- main
jobs:
generate:
permissions:
contents: write
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
# generates a snake game from a github user (<github_user_name>) contributions graph, output a svg animation at <svg_out_path>
- name: generate github-contribution-grid-snake.svg
uses: Platane/snk/svg-only@v3
with:
github_user_name: ${{ github.repository_owner }}
outputs: |
dist/github-contribution-grid-snake.svg
dist/github-contribution-grid-snake-dark.svg?palette=github-dark
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
# push the content of <build_dir> to a branch
# the content will be available at https://raw.githubusercontent.com/<github_user>/<repository>/<target_branch>/<file> , or as github page
- name: push github-contribution-grid-snake.svg to the output branch
uses: crazy-max/[email protected]
with:
target_branch: output
build_dir: dist
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
from snk.
I've experienced the same issue recently, and I've found a solution that may help you. Based on what I discovered in this issue #85, it seems that the problem is related to the version of the workflow.
Up until now, I had been using version 2 (V2) of the workflow successfully. However, switching to version 3 (V3) resolved the issue, and the workflow started functioning correctly.
I hope this information proves helpful, and you can resolve the issue by transitioning to version 3 of the workflow! I greatly appreciate this project from @Platane
Greetings!
from snk.
I've encountered the same issue. Could you please provide further guidance on how to proceed
from snk.
Related Issues (20)
- Action failed with "Cannot read properties of undefined (reading 'split')" HOT 1
- Not working now HOT 1
- Error while running : Action failed with "Cannot read properties of undefined (reading 'split')" HOT 1
- Private repo contributions are not included after update to V3. HOT 7
- Action failed with "Unauthorized" HOT 5
- Why is the generated data different from mine? HOT 2
- Fails the run HOT 1
- Accreditation HOT 1
- Snake does not get longer
- [Feature] - Add ability to hide progress bar HOT 5
- Any chance we could get this to work with gitea runners/accounts for self hosted as well? HOT 1
- Can't locate output from snk. Am I missing something? HOT 1
- Snk doesn't work on my profile HOT 2
- Suddenly commits doesn't appears and snake dont move HOT 2
- UnAuthorized on fetching github user.. HOT 2
- The action cleared every file in my repository HOT 2
- my feedback HOT 1
- The web demo doesn't work HOT 3
- Build Failed: Cannot read properties of undefined HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snk.