-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only default to
-U
if there is not a version
in the config […
…APE-1180] (#26)
- Loading branch information
Showing
6 changed files
with
85 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Ape Plugins Test | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
tags-ignore: ['**'] | ||
paths-ignore: ['**.md'] | ||
pull_request: | ||
paths-ignore: ['**.md'] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-plugins | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
run-this-action: | ||
name: Run action (${{ matrix.plugins }}) | ||
runs-on: [ubuntu-latest] | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
plugins: ['default', 'tokens', 'tokens==0.6.1'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Check plugins | ||
id: check-plugins | ||
run: | | ||
if [[ "${{ matrix.plugins }}" != "default" ]]; then | ||
echo "ape-plugins=${{ matrix.plugins }}" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Run ape action | ||
id: ape-action | ||
uses: ./ | ||
with: | ||
ape-plugins-list: ${{ steps.check-plugins.outputs.ape-plugins }} | ||
|
||
- run: ape plugins list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# This file exists only as a test for the action. | ||
plugins: | ||
- name: tokens | ||
version: 0.6.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
number = true |