Merge pull request #2 from JcDenis/master

update branch
This commit is contained in:
Jean-Christian Paul Denis 2024-12-07 14:30:14 +01:00 committed by GitHub
commit 47b2acd39d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 15 additions and 4 deletions

View file

@ -3,6 +3,17 @@ on:
schedule: schedule:
- cron: '45 11 * * 0' - cron: '45 11 * * 0'
workflow_dispatch: workflow_dispatch:
inputs:
days:
description: 'retain days'
required: true
default: 15
type: choice
options:
- 1
- 2
- 7
- 15
jobs: jobs:
del_runs: del_runs:
@ -16,5 +27,5 @@ jobs:
with: with:
token: ${{ github.token }} token: ${{ github.token }}
repository: ${{ github.repository }} repository: ${{ github.repository }}
retain_days: 30 retain_days: ${{ github.event.inputs.days }}
keep_minimum_runs: 7 keep_minimum_runs: 7

View file

@ -84,13 +84,13 @@ jobs:
- name: notfound - name: notfound
if: (steps.create.outputs.created == 'false') if: (steps.create.outputs.created == 'false')
run: | run: |
SUMMARY=$'Branch ${{ steps.dotclear.outputs.version }} has not been created.' SUMMARY=$'Branch ${{ needs.check_image.outputs.version }} has not been created.'
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
- name: found - name: found
if: (steps.create.outputs.created == 'true') if: (steps.create.outputs.created == 'true')
run: | run: |
SUMMARY=$' Branch ${{ steps.dotclear.outputs.version }} has been created.' SUMMARY=$' Branch ${{ needs.check_image.outputs.version }} has been created.'
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
do_image: do_image:

View file

@ -136,7 +136,7 @@ RUN curl -fsSL -o plugin.zip "https://github.com/JcDenis/dcLog/releases/download
&& rm plugin.zip && rm plugin.zip
# sysInfo # sysInfo
ENV VER_SI=9.7 ENV VER_SI=9.8
RUN curl -fsSL -o plugin.zip "https://github.com/franck-paul/sysInfo/releases/download/$VER_SI/plugin-sysInfo-$VER_SI.zip" \ RUN curl -fsSL -o plugin.zip "https://github.com/franck-paul/sysInfo/releases/download/$VER_SI/plugin-sysInfo-$VER_SI.zip" \
&& mkdir -p /var/lib/dotclear/plugins/sysInfo \ && mkdir -p /var/lib/dotclear/plugins/sysInfo \
&& unzip -d /var/lib/dotclear/plugins plugin.zip \ && unzip -d /var/lib/dotclear/plugins plugin.zip \