Created basic action logic.

This commit is contained in:
2026-01-10 22:51:27 +01:00
parent e7d0039424
commit 0d0a0e5b84
6 changed files with 582 additions and 50 deletions

22
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: Test Action
on: [push, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test Download Hugo
uses: ./
with:
repo-name: 'gohugoio/hugo'
file-name: 'hugo_extended_.*_{{SYSTEM}}-{{ARCH}}\.tar\.gz'
use-regex: 'true'
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Verify Installation
run: |
hugo version