1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00

build: update generate workflow

This commit is contained in:
Carlos Alexandro Becker 2024-04-01 15:46:13 -03:00
parent 2c892be4f8
commit 2eca3c2c8f
No known key found for this signature in database
2 changed files with 13 additions and 1 deletions

View File

@ -28,13 +28,18 @@ jobs:
- run: task docs:releases
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: cachix/install-nix-action@v26
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: task docs:generate
- run: task schema:generate
- run: task nix:licenses:generate
- run: task nix:flake:update
- run: task nix:flake:update-vendor
- run: task schema:validate
- uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5
with:
commit_message: "chore: docs auto-update"
commit_message: "chore: auto-update generated files"
branch: main
commit_user_name: actions-user
commit_user_email: actions@github.com

View File

@ -75,6 +75,13 @@ tasks:
- task: nix:flake:update-vendor
- nix build .
nix:flake:update:
desc: update flake.lock
cmds:
- nix flake update
generates:
- flake.lock
nix:flake:update-vendor:
desc: update default flake package vendor hash
cmds: