This commit is contained in:
parent
c0d5c30418
commit
c57ef7ea31
1 changed files with 17 additions and 0 deletions
17
.forgejo/workflows/nix-inputs-update.yml
Normal file
17
.forgejo/workflows/nix-inputs-update.yml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
name: "Update Flake Packages ❄️"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
updateFlakePackages:
|
||||
runs-on: native
|
||||
steps:
|
||||
- run: git clone -q https://forgejo:$GITHUB_TOKEN@git.antoinevaure.fr/$GITHUB_REPOSITORY $GITHUB_REPOSITORY
|
||||
- run: pwd
|
||||
- run: echo ${{join([env.FORGEJO_WORKSPACE, env.GITHUB_REPOSITORY], '/')}}
|
||||
- run: pwd
|
||||
working-directory: ${{join([env.FORGEJO_WORKSPACE, env.GITHUB_REPOSITORY], '/')}}
|
||||
- run: git checkout $GITHUB_REF
|
||||
working-directory: ${{ env.GITHUB_REPOSITORY }}
|
||||
- name: Update flake packages
|
||||
working-directory: ${{ env.GITHUB_REPOSITORY }}
|
||||
uses: https://github.com/selfuryon/nix-update-action@v1.1.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue