diff --git a/.github/workflows/package_linter.yml b/.github/workflows/package_linter.yml index 52f9538..576e4a5 100644 --- a/.github/workflows/package_linter.yml +++ b/.github/workflows/package_linter.yml @@ -4,20 +4,16 @@ on: # Allow to manually trigger the workflow workflow_dispatch: push: - branches: - - main pull_request: - schedule: - - cron: '0 8 * * *' jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.9' diff --git a/.github/workflows/update_master.yml b/.github/workflows/update_master.yml index a289a45..1c477f1 100644 --- a/.github/workflows/update_master.yml +++ b/.github/workflows/update_master.yml @@ -10,7 +10,7 @@ jobs: masterPromotion: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: master - name: Reset promotion branch @@ -18,7 +18,7 @@ jobs: git fetch origin testing:testing git reset --hard testing - name: Create Pull Request - uses: peter-evans/create-pull-request@v5 + uses: peter-evans/create-pull-request@v6 with: branch: master-promotion title: 'Upgrade master from testing' diff --git a/manifest.toml b/manifest.toml index d36ae38..de09f90 100644 --- a/manifest.toml +++ b/manifest.toml @@ -41,8 +41,9 @@ ram.runtime = "50M" [resources] [resources.sources] - [resources.sources.scrutiny-web-linux] + [resources.sources.main] in_subdir = false + rename = "scrutiny-web-linux" amd64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.7.3/scrutiny-web-linux-amd64" amd64.sha256 = "42071cb77bd04a608d35e5a6ecd712bd2f3496d6a7e46374171a8fa8bfa255d4" arm64.url = "https://github.com/AnalogJ/scrutiny/releases/download/v0.7.3/scrutiny-web-linux-arm64" diff --git a/scripts/install b/scripts/install index c5cda67..aedbc94 100755 --- a/scripts/install +++ b/scripts/install @@ -17,7 +17,7 @@ source /usr/share/yunohost/helpers ynh_script_progression --message="Setting up source files..." --weight=1 mkdir -p "$install_dir/bin" -ynh_setup_source --source_id="scrutiny-web-linux" --dest_dir="$install_dir/bin" +ynh_setup_source --source_id="main" --dest_dir="$install_dir/bin" ynh_setup_source --source_id="scrutiny-collector-metrics-linux" --dest_dir="$install_dir/bin" mkdir -p "$install_dir/web" diff --git a/scripts/upgrade b/scripts/upgrade index dab23a6..913d141 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -41,7 +41,7 @@ fi ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --source_id="scrutiny-web-linux" --dest_dir="$install_dir/bin" +ynh_setup_source --source_id="main" --dest_dir="$install_dir/bin" ynh_setup_source --source_id="scrutiny-collector-metrics-linux" --dest_dir="$install_dir/bin" ynh_setup_source --source_id="scrutiny-web-frontend" --dest_dir="$install_dir/web"