-
-
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.
- Loading branch information
neil
committed
Dec 10, 2023
1 parent
bad574c
commit 071140f
Showing
3 changed files
with
2 additions
and
12 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 |
---|---|---|
@@ -1,11 +1,4 @@ | ||
# Run GitHub CI in {{VM_NAME}} ![Test](https://github.com/{{GITHUB_REPOSITORY}}/workflows/Test/badge.svg) | ||
|
||
Use this action to run your CI in {{VM_NAME}}. | ||
|
||
The github workflow only supports Ubuntu, Windows and MacOS. But what if you need to use {{VM_NAME}}? | ||
|
||
This action is to support {{VM_NAME}}. | ||
|
||
|
||
{{LATEST_TAG}} | ||
|
||
|
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 |
---|---|---|
|
@@ -29,11 +29,8 @@ jobs: | |
- name: Using main branch | ||
run: | | ||
git switch main || (git fetch --all && git checkout -b main origin/main) | ||
. conf/default.release.conf | ||
echo "DEFAULT_RELEASE=$DEFAULT_RELEASE" >> $GITHUB_ENV | ||
echo "LATEST_MAJOR=$(echo ${{ steps.get-latest-release.outputs.tag_name }} | cut -d . -f 1)" >> $GITHUB_ENV | ||
echo "LATEST_TAG=${{ steps.get-latest-release.outputs.tag_name }}" >> $GITHUB_ENV | ||
echo "ALL_RELEASES=$(ls conf/ | grep -v default | sed 's/.conf//g' | tr '\n' ',' | sed "s/,\$//" | sed 's/,/, /g')" >> $GITHUB_ENV | ||
- name: Update the readme.md | ||
uses: vmactions/[email protected] | ||
|