-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1.0.0 - Fixed workflow in making latest release (#3)
* Fixed workflow in making latest release * Added PR CI Finished Job * Added text colour widget version --------- Co-authored-by: ponlawat-w <[email protected]>
- Loading branch information
1 parent
fc59a67
commit 91478d6
Showing
2 changed files
with
11 additions
and
4 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 |
---|---|---|
|
@@ -52,7 +52,7 @@ jobs: | |
release: ${{ steps.plugin-info.outputs.PLUGIN_RELEASE }} | ||
version: ${{ steps.plugin-info.outputs.PLUGIN_VERSION }} | ||
branch-no-widgets: ${{ steps.get-branch.outputs.BRANCH_NAME }} | ||
branch-with-widgets: ${{ steps.get-branch.outputs.BRANCH_NAME }}-default-widgets | ||
branch-with-widgets: ${{ steps.get-branch.outputs.BRANCH_NAME }}-with-widgets | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -87,7 +87,7 @@ jobs: | |
run: | | ||
git config --global user.name "ponlawat-w" | ||
git config --global user.email "[email protected]" | ||
git checkout -b ${{ steps.get-branch.outputs.BRANCH_NAME }}-default-widgets | ||
git checkout -b ${{ steps.get-branch.outputs.BRANCH_NAME }}-with-widgets | ||
rm ./.gitignore | ||
git add -A | ||
git commit -m 'Removed .gitignore' | ||
|
@@ -129,7 +129,7 @@ jobs: | |
rm -rf widgets/textcolour/.github | ||
git add -A | ||
git commit -m 'Added default widgets' | ||
git push -f -u origin ${{ steps.get-branch.outputs.BRANCH_NAME }}-default-widgets | ||
git push -f -u origin ${{ steps.get-branch.outputs.BRANCH_NAME }}-with-widgets | ||
release: | ||
|
||
|
@@ -180,6 +180,6 @@ jobs: | |
|
||
- name: Make latest version | ||
if: ${{ matrix.latest }} | ||
run: gh release edit --repo ponlawat-w/moodle-local_accessibility ${{ matrix.branch }} --latest | ||
run: gh release edit --repo ponlawat-w/moodle-local_accessibility ${{ matrix.name }} --latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |