https://github.com/sharadcodes/code-snap-action
This action snaps all the source files in a particular folder and saves them into another folder inside the workflow
https://github.com/sharadcodes/code-snap-action
Last synced: about 1 month ago
JSON representation
This action snaps all the source files in a particular folder and saves them into another folder inside the workflow
- Host: GitHub
- URL: https://github.com/sharadcodes/code-snap-action
- Owner: sharadcodes
- License: gpl-3.0
- Created: 2020-04-11T08:50:17.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-11T12:04:14.000Z (almost 6 years ago)
- Last Synced: 2024-05-01T17:57:55.170Z (over 1 year ago)
- Language: Python
- Homepage: https://github.com/marketplace/actions/code-snap-action
- Size: 104 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# code-snap-action
This action snaps all the source files in a particular folder and saves them into another folder inside the workflow
## USAGE
```yml
Sample workflow file
name: CODE SNAP CI
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Generate pngs
uses: sharadcodes/code-snap-action@v1.0
with:
source_folder: "my_code_files" # This field is required and it is the folder which contains the source files.
output_folder: "snaps" # This field is required and it is the folder which contains the snaps.
syntax_theme: "emacs" # This field is required and it is the syntax highlighting theme that will be used.
```