Skip to content

Modified cron to on push to main or tags #41

Modified cron to on push to main or tags

Modified cron to on push to main or tags #41

name: Checksum builder Linux
on:
push:
branches:
- main
tags:
- *

Check failure on line 8 in .github/workflows/checksum_builder-linux.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/checksum_builder-linux.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_PAT || github.token }}
- name: Setup Go
uses: actions/setup-go@v4
with :
go-version: 'stable'
check-latest: true
- name: compile
run: go build checksum.go
- name: Test
run: |
touch file
echo 1 >> file
./checksum -c sha256 -f file