awesome-battery_widget/.github/workflows/rock.yaml

22 lines
596 B
YAML
Raw Permalink Normal View History

2024-10-31 21:18:37 +01:00
name: Upload rock to LuaRocks
on:
2024-10-31 21:19:34 +01:00
push:
2024-10-31 21:18:37 +01:00
jobs:
2024-10-31 21:19:34 +01:00
affected:
uses: lunarmodules/.github/.github/workflows/list_affected_rockspecs.yml@main
upload:
needs: affected
if: >-
${{
github.repository == 'Aire-One/awesome-battery_widget' &&
( github.ref_name == 'master' || startsWith(github.ref, 'refs/tags/') ) &&
needs.affected.outputs.rockspecs
}}
uses: lunarmodules/.github/.github/workflows/upload_to_luarocks.yml@main
with:
rockspecs: ${{ needs.affected.outputs.rockspecs }}
secrets:
apikey: ${{ secrets.LUAROCKS_APIKEY }}