This commit is contained in:
parent
c0d5c30418
commit
5e0ca849aa
1 changed files with 18 additions and 0 deletions
18
.forgejo/workflows/nix-inputs-update.yml
Normal file
18
.forgejo/workflows/nix-inputs-update.yml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
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 .
|
||||
- run: pwd
|
||||
- run: ls -la
|
||||
- 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