-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to v1.0.2 with added features
- Loading branch information
Showing
6 changed files
with
79 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,22 +14,24 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Winget Version Badge | ||
uses: gnpaone/[email protected].0 | ||
uses: gnpaone/[email protected].2 | ||
with: | ||
id: "GitHub.cli,Git.Git" | ||
marker_text: "EXAMPLE_1,EXAMPLE_2" | ||
pkg_link: "https://github.com," | ||
id: "GitHub.cli;Git.Git;Git.MinGit;GitHub.GitHubDesktop;GitHub.GitLFS;Gitleaks.Gitleaks" | ||
marker_text: "EXAMPLE_1;EXAMPLE_2;EXAMPLE_3;EXAMPLE_4;EXAMPLE_5;EXAMPLE_6" | ||
pkg_link: "https://github.com;;;;https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage;" | ||
style: "plastic" | ||
label_color: ",red" | ||
color: "blue,green" | ||
label_color: ";red;orange;cyan;;" | ||
color: "blue;green;yellow;eb4034;hsl(72, 100%, 50%);rgb(255, 0, 153, 1)" | ||
newline: "true;true;false;false;false;true" | ||
html: "false;false;false;false;false;true" | ||
id: latestver | ||
|
||
# Optional | ||
- name: Version | ||
run: | | ||
version=${{ steps.latestver.outputs.winget_ver }} | ||
version="${{ steps.latestver.outputs.winget_ver }}" | ||
echo "ver=$version" >> $GITHUB_OUTPUT | ||
IFS=',' read -r -a array <<< "$version" | ||
IFS=';' read -r -a array <<< "$version" | ||
for i in "${!array[@]}"; do | ||
echo "ver$i=${array[$i]}" >> $GITHUB_OUTPUT | ||
done | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Winget Version Badge | ||
uses: gnpaone/[email protected].0 | ||
uses: gnpaone/[email protected].2 | ||
with: | ||
id: "Git.Git" | ||
marker_text: "TEST_PKG" |
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 |
---|---|---|
|
@@ -14,22 +14,22 @@ jobs: | |
uses: actions/checkout@v4 | ||
|
||
- name: Winget Version Badge | ||
uses: gnpaone/[email protected].0 | ||
uses: gnpaone/[email protected].2 | ||
with: | ||
id: "GitHub.cli,Git.Git" | ||
marker_text: "TEST_PKG_1,TEST_PKG_2" | ||
pkg_link: "https://github.com," | ||
id: "GitHub.cli;Git.Git" | ||
marker_text: "TEST_PKG_1;TEST_PKG_2" | ||
pkg_link: "https://github.com;" | ||
label: "Winget package" | ||
label_color: ",red" | ||
color: "blue,green" | ||
label_color: ";red" | ||
color: "blue;green" | ||
id: latestver | ||
|
||
- name: Version | ||
run: | | ||
version=${{ steps.latestver.outputs.winget_ver }} | ||
version="${{ steps.latestver.outputs.winget_ver }}" | ||
echo "ver=$version" >> $GITHUB_OUTPUT | ||
IFS=',' read -r -a array <<< "$version" | ||
IFS=';' read -r -a array <<< "$version" | ||
for i in "${!array[@]}"; do | ||
echo "ver$i=${array[$i]}" >> $GITHUB_OUTPUT | ||
done | ||
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