diff --git a/.github/workflows/buckets.yml b/.github/workflows/buckets.yml index 50c7278..3c39e08 100644 --- a/.github/workflows/buckets.yml +++ b/.github/workflows/buckets.yml @@ -35,7 +35,7 @@ jobs: buckets: java games php - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 with: buckets: java games php @@ -106,7 +106,7 @@ jobs: buckets: extras - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 with: buckets: extras @@ -144,7 +144,7 @@ jobs: continue-on-error: true - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 with: buckets: unknown continue-on-error: true diff --git a/.github/workflows/default_usage.yml b/.github/workflows/default_usage.yml index 4f75704..563297b 100644 --- a/.github/workflows/default_usage.yml +++ b/.github/workflows/default_usage.yml @@ -31,7 +31,7 @@ jobs: uses: winpax/scoop-setup@main - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 - name: Confirm scoop working shell: pwsh diff --git a/.github/workflows/install_apps.yml b/.github/workflows/install_apps.yml index 35ff606..50823a0 100644 --- a/.github/workflows/install_apps.yml +++ b/.github/workflows/install_apps.yml @@ -37,7 +37,7 @@ jobs: apps: plantuml doxygen handbrake-cli - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 with: buckets: extras apps: plantuml doxygen handbrake-cli @@ -76,7 +76,7 @@ jobs: continue-on-error: true - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 with: buckets: extras apps: -foobar diff --git a/.github/workflows/obsoleted_parameters.yml b/.github/workflows/obsoleted_parameters.yml index 3e45a0d..fa357e6 100644 --- a/.github/workflows/obsoleted_parameters.yml +++ b/.github/workflows/obsoleted_parameters.yml @@ -25,7 +25,7 @@ jobs: name: Run actions locally uses: ./ with: - add_extras_bucket: "true" + buckets: extras continue-on-error: true - if: > @@ -33,13 +33,13 @@ jobs: || github.event_name == 'workflow_dispatch' }} uses: winpax/scoop-setup@main with: - add_extras_bucket: "true" + buckets: extras continue-on-error: true - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 with: - add_extras_bucket: "true" + buckets: extras continue-on-error: true - name: Validate extras bucket is not available @@ -64,7 +64,7 @@ jobs: name: Run actions locally uses: ./ with: - add_nonportable_bucket: "true" + buckets: nonportable continue-on-error: true - if: > @@ -72,13 +72,13 @@ jobs: || github.event_name == 'workflow_dispatch' }} uses: winpax/scoop-setup@main with: - add_nonportable_bucket: "true" + buckets: nonportable continue-on-error: true - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 with: - add_nonportable_bucket: "true" + buckets: nonportable continue-on-error: true - name: Validate nonportable bucket is not available diff --git a/.github/workflows/run_as_admin.yml b/.github/workflows/run_as_admin.yml index ba63a8b..cb4ed5b 100644 --- a/.github/workflows/run_as_admin.yml +++ b/.github/workflows/run_as_admin.yml @@ -25,7 +25,7 @@ jobs: name: Run actions locally uses: ./ with: - run_as_admin: false + admin: false continue-on-error: true - if: > @@ -33,11 +33,11 @@ jobs: || github.event_name == 'workflow_dispatch' }} uses: winpax/scoop-setup@main with: - run_as_admin: false + admin: false continue-on-error: true - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 with: - run_as_admin: false + admin: false continue-on-error: true diff --git a/.github/workflows/update_path.yml b/.github/workflows/update_path.yml index fa04fae..2b4fb4f 100644 --- a/.github/workflows/update_path.yml +++ b/.github/workflows/update_path.yml @@ -43,7 +43,7 @@ jobs: update_path: "true" - if: ${{ github.event_name == 'schedule' }} - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 with: install_scoop: "false" update: "false" diff --git a/README.md b/README.md index 02bd898..c694fc5 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ - If you want to install "sfsu" and "trunk", put codes like this into your workflow YAML ```yaml -- uses: winpax/scoop-setup@v1 +- uses: winpax/scoop-setup@v1.0.0 with: buckets: extras apps: sfsu trunk @@ -106,7 +106,7 @@ jobs: key: cache_version_${{ env.cache_version }}-${{ hashFiles(env.cache_hash_seed_file_path) }} - name: Install scoop (Windows) - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 if: steps.restore_cache.outputs.cache-hit != 'true' with: install_scoop: "true" @@ -116,7 +116,7 @@ jobs: update_path: "true" - name: Setup scoop PATH (Windows) - uses: winpax/scoop-setup@v1 + uses: winpax/scoop-setup@v1.0.0 if: steps.restore_cache.outputs.cache-hit == 'true' with: install_scoop: "false"