-
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.
minor tweak to the ci pipeline prior to 1.1.1
- Loading branch information
1 parent
09d58ce
commit ebae233
Showing
2 changed files
with
23 additions
and
13 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,6 +14,26 @@ jobs: | |
|
||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: JSON to variables | ||
# see https://github.com/antifree/json-to-variables | ||
# You may pin to the exact commit or the version. | ||
# uses: antifree/json-to-variables@cc8c6394031e145c90f7f9ec909d83df92431fb8 | ||
uses: antifree/[email protected] | ||
with: | ||
# The json file. | ||
filename: "./release.json" | ||
# The prefix for variables. | ||
prefix: "mfile" | ||
|
||
- name: "create version.txt" | ||
uses: 1arp/[email protected] | ||
# see https://github.com/marketplace/actions/create-a-file | ||
with: | ||
path: 'src/resources' | ||
isAbsolutePath: false | ||
file: 'version.txt' | ||
content: ${{ env.mfile_version }} | ||
|
||
- name: Build With Muddler | ||
# You may pin to the exact commit or the version. | ||
|
@@ -37,21 +57,10 @@ jobs: | |
# with: | ||
# merge-multiple: true | ||
|
||
- name: JSON to variables | ||
# see https://github.com/antifree/json-to-variables | ||
# You may pin to the exact commit or the version. | ||
# uses: antifree/json-to-variables@cc8c6394031e145c90f7f9ec909d83df92431fb8 | ||
uses: antifree/[email protected] | ||
with: | ||
# The json file. | ||
filename: "./release.json" | ||
# The prefix for variables. | ||
prefix: "mfile" | ||
|
||
- uses: ncipollo/release-action@v1 | ||
# see https://github.com/marketplace/actions/create-release | ||
with: | ||
artifacts: "build/MUDKIP_Mud2.*,release.json" | ||
artifacts: "build/MUDKIP_Mud2.*,src/resources/version.txt" | ||
allowUpdates: true | ||
bodyFile: "./README.md" | ||
tag: ${{ env.mfile_version }} |
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,3 +1,4 @@ | ||
build/ | ||
.output | ||
oldMudletProfile/ | ||
oldMudletProfile/ | ||
src/resources/version.txt |