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:
parent
2c892be4f8
commit
2eca3c2c8f
7
.github/workflows/generate.yml
vendored
7
.github/workflows/generate.yml
vendored
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user