Format update-7zip.yml [skip ci]

This commit is contained in:
chase 2023-01-12 21:41:46 -06:00 committed by GitHub
parent 9f05d677eb
commit 35bf0d8195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,17 @@
--- ---
name: "📝 Update 7-Zip" name: "📝 Update 7-Zip"
on: on:
schedule: schedule:
- cron: "0 2 16 * *" - cron: "0 2 16 * *"
env: env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: "true" ACTIONS_ALLOW_UNSECURE_COMMANDS: "true"
jobs: jobs:
update7zip: update7zip:
runs-on: "ubuntu-latest" runs-on: "ubuntu-latest"
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- run: echo "::set-env name=LATEST_7ZIP::$(curl -s https://raw.githubusercontent.com/chxseh/update-7zip-inside-repos/main/latest/latest.txt | head -n 1)" - run: echo "::set-env name=LATEST_7ZIP::$(curl -s https://raw.githubusercontent.com/chxseh/update-7zip-inside-repos/main/latest/latest.txt | head -n 1)"