openwrt-bgme-feed/.github/workflows/calculate.yml
bgme 23fa869d86 Squashed 'einat-ebpf/' content from commit 3ca81b6
git-subtree-dir: einat-ebpf
git-subtree-split: 3ca81b661559606ef42023e2e9a9dd4b74a3ed18
2025-04-21 13:52:45 +08:00

28 lines
707 B
YAML

name: Calculating PKG_MIRROR_HASH
on:
workflow_dispatch:
inputs:
target_version:
description: 'Target OpenWrt version. if empty the simple mode will be used.'
required: false
type: string
jobs:
check:
name: Calculating PKG_MIRROR_HASH of XX
runs-on: ubuntu-latest
permissions:
contents: write # To push a branch
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref_name }}
fetch-depth: 0
- uses: muink/openwrt-package-mirror-hash-calculator@main
env:
COMMIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAKEFILE: Makefile
TARGET_VERSION: ${{ inputs.target_version }}