Skip to content

feat: add additional gource options (#18) #90

feat: add additional gource options (#18)

feat: add additional gource options (#18) #90

Workflow file for this run

name: Gource Action Dev
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
push:
branches:
- master
- 'dev/**'
jobs:
# local-images:
# runs-on: ubuntu-latest
# steps:
# - name: 'Checkout'
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: 'Current folder'
# run: ls -al
# - name: 'Gource Action'
# uses: ./
# with:
# git_url: ./
# avatars_url: ./avatars/
# gource_title: 'Gource Action Development'
# logo_url: ./logo.png
# avatars_auto_fetch: true
# - name: 'Check output'
# run: |
# ls -al ./
# ls -al ./gource
# - uses: actions/upload-artifact@v2
# with:
# name: gource-local
# path: ./gource
# retention-days: 1
# test-new-url-regex:
# runs-on: ubuntu-latest
# steps:
# - name: 'Checkout'
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: 'Current folder'
# run: ls -al
# - name: 'Gource Action'
# uses: ./
# with:
# git_url: ./
# avatars_url: ./avatars/
# gource_title: 'Gource Action Development'
# logo_url: https://raw.githubusercontent.com/glotaran/pyglotaran/main/docs/source/images/glotaran.png?raw=true
# avatars_auto_fetch: true
# - name: 'Check output'
# run: |
# ls -al ./
# ls -al ./gource
# - uses: actions/upload-artifact@v2
# with:
# name: gource-local
# path: ./gource
# retention-days: 1
check-new-options:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 'Gource Action'
uses: ./
with:
git_url: https://github.com/chkpwd/dotfiles
gource_title: IaC Repo
logo_url: https://github.com/git.png
gource_resolution: 1080p
gource_fps: 60
avatars_auto_fetch: true
gource_bloom_intensity: 0.5
gource_bloom_multiplier: 0.5
gource_auto_skip_seconds: 0.1
gource_camera_mode: track
gource_filename_time: 2
gource_seconds_per_day: 0.25
gource_time_scale: 2.5
gource_background_color: 0D1116
gource_overlay_background_color: 0D1116
gource_font_size: 80
gource_hide_items: mouse,progress,dirnames
- name: 'Upload gource video'
uses: actions/upload-artifact@v4
with:
name: Gource
path: ./gource/gource.mp4