first commit
This commit is contained in:
16
action.yml
Normal file
16
action.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
name: "Setup Zola"
|
||||
description: "Download and install Zola static site generator"
|
||||
inputs:
|
||||
version:
|
||||
description: "The version of Zola to install"
|
||||
required: false
|
||||
default: "0.18.0"
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install dependencies
|
||||
run: apt-get update && apt-get install -y curl tar
|
||||
- name: Run install script
|
||||
run: |
|
||||
chmod +x ${{ github.action_path }}/scripts/install_zola.sh
|
||||
${{ github.action_path }}/scripts/install_zola.sh ${{ inputs.version }}
|
||||
Reference in New Issue
Block a user