init!
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
name: handy update
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "10 3 * * *" # UTC
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update-handy:
|
||||
runs-on: ubuntu-latest
|
||||
concurrency:
|
||||
group: handy-update
|
||||
cancel-in-progress: false
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: install nix
|
||||
uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: check latest handy release and update file
|
||||
id: update
|
||||
env:
|
||||
FILE: modules/pkgs/handy.nix
|
||||
LATEST_RELEASE_URL: https://github.com/cjpais/Handy/releases/latest
|
||||
DOWNLOAD_URL_TEMPLATE: https://github.com/cjpais/Handy/releases/download/v{version}/Handy_{version}_amd64.AppImage
|
||||
RELEASE_TAG_TEMPLATE: v{version}
|
||||
shell: bash
|
||||
run: bash .gitea/scripts/update-appimage-nix.sh
|
||||
|
||||
- name: commit and push to main
|
||||
if: steps.update.outputs.updated == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
version="${{ steps.update.outputs.version }}"
|
||||
|
||||
FILE="modules/pkgs/handy.nix" \
|
||||
COMMIT_MESSAGE="update handy to ${version}" \
|
||||
bash .gitea/scripts/commit-update-main.sh
|
||||
@@ -0,0 +1,44 @@
|
||||
name: helium update
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 3 * * *" # UTC
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update-helium:
|
||||
runs-on: ubuntu-latest
|
||||
concurrency:
|
||||
group: helium-update
|
||||
cancel-in-progress: false
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: install nix
|
||||
uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: check latest helium release and update file
|
||||
id: update
|
||||
env:
|
||||
FILE: modules/pkgs/helium.nix
|
||||
LATEST_RELEASE_URL: https://github.com/imputnet/helium-linux/releases/latest
|
||||
DOWNLOAD_URL_TEMPLATE: https://github.com/imputnet/helium-linux/releases/download/{version}/helium-{version}-x86_64.AppImage
|
||||
RELEASE_TAG_TEMPLATE: '{version}'
|
||||
shell: bash
|
||||
run: bash .gitea/scripts/update-appimage-nix.sh
|
||||
|
||||
- name: commit and push to main
|
||||
if: steps.update.outputs.updated == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
version="${{ steps.update.outputs.version }}"
|
||||
|
||||
FILE="modules/pkgs/helium.nix" \
|
||||
COMMIT_MESSAGE="update helium to ${version}" \
|
||||
bash .gitea/scripts/commit-update-main.sh
|
||||
@@ -0,0 +1,44 @@
|
||||
name: t3code update
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "30 3 * * *" # UTC
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update-t3code:
|
||||
runs-on: ubuntu-latest
|
||||
concurrency:
|
||||
group: t3code-update
|
||||
cancel-in-progress: false
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: install nix
|
||||
uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: check latest t3code release and update file
|
||||
id: update
|
||||
env:
|
||||
FILE: modules/pkgs/t3code.nix
|
||||
LATEST_RELEASE_URL: https://github.com/pingdotgg/t3code/releases/latest
|
||||
DOWNLOAD_URL_TEMPLATE: https://github.com/pingdotgg/t3code/releases/download/v{version}/T3-Code-{version}-x86_64.AppImage
|
||||
RELEASE_TAG_TEMPLATE: v{version}
|
||||
shell: bash
|
||||
run: bash .gitea/scripts/update-appimage-nix.sh
|
||||
|
||||
- name: commit and push to main
|
||||
if: steps.update.outputs.updated == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
version="${{ steps.update.outputs.version }}"
|
||||
|
||||
FILE="modules/pkgs/t3code.nix" \
|
||||
COMMIT_MESSAGE="update t3code to ${version}" \
|
||||
bash .gitea/scripts/commit-update-main.sh
|
||||
@@ -0,0 +1,44 @@
|
||||
name: zen browser update
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "20 3 * * *" # UTC
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
update-zen-browser:
|
||||
runs-on: ubuntu-latest
|
||||
concurrency:
|
||||
group: zen-browser-update
|
||||
cancel-in-progress: false
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: install nix
|
||||
uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
|
||||
- name: check latest zen browser release and update file
|
||||
id: update
|
||||
env:
|
||||
FILE: modules/pkgs/zen-browser.nix
|
||||
LATEST_RELEASE_URL: https://github.com/zen-browser/desktop/releases/latest
|
||||
DOWNLOAD_URL_TEMPLATE: https://github.com/zen-browser/desktop/releases/download/{version}/zen-x86_64.AppImage
|
||||
RELEASE_TAG_TEMPLATE: '{version}'
|
||||
shell: bash
|
||||
run: bash .gitea/scripts/update-appimage-nix.sh
|
||||
|
||||
- name: commit and push to main
|
||||
if: steps.update.outputs.updated == 'true'
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
version="${{ steps.update.outputs.version }}"
|
||||
|
||||
FILE="modules/pkgs/zen-browser.nix" \
|
||||
COMMIT_MESSAGE="update zen browser to ${version}" \
|
||||
bash .gitea/scripts/commit-update-main.sh
|
||||
Reference in New Issue
Block a user