Skip to content

Commit

Permalink
fixed test workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
jewlexx committed Dec 12, 2024
1 parent ae0961c commit f118aed
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/buckets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/default_usage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/install_apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/obsoleted_parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ jobs:
name: Run actions locally
uses: ./
with:
add_extras_bucket: "true"
buckets: extras
continue-on-error: true

- if: >
${{ github.event_name == 'push'
|| 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
Expand All @@ -64,21 +64,21 @@ jobs:
name: Run actions locally
uses: ./
with:
add_nonportable_bucket: "true"
buckets: nonportable
continue-on-error: true

- if: >
${{ github.event_name == 'push'
|| 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
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/run_as_admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,19 @@ jobs:
name: Run actions locally
uses: ./
with:
run_as_admin: false
admin: false
continue-on-error: true

- if: >
${{ github.event_name == 'push'
|| 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
2 changes: 1 addition & 1 deletion .github/workflows/update_path.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit f118aed

Please sign in to comment.