mirror of
https://github.com/egorovna-developments/rule-set.git
synced 2026-05-17 02:32:28 +07:00
3ca350f4ea
Removed push trigger for master branch.
29 lines
581 B
YAML
29 lines
581 B
YAML
name: Update subnets
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0 * * *'
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
linux-build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout sources
|
|
uses: actions/checkout@v6
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v5
|
|
with:
|
|
java-version: '17'
|
|
distribution: 'oracle'
|
|
java-package: 'jdk'
|
|
architecture: 'x64'
|
|
- run: |
|
|
java -jar ip-ranges.jar
|
|
- name: Push subnets
|
|
uses: EndBug/add-and-commit@v9
|
|
with:
|
|
message: 'Update subnets'
|