Skip to content

Commit 07f52d5

Browse files
authored
Merge pull request #25 from StarMapLoader/dev
Force build API
2 parents e96e2d3 + 3e5da94 commit 07f52d5

2 files changed

Lines changed: 16 additions & 11 deletions

File tree

.github/workflows/release-zip.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,20 +114,25 @@ jobs:
114114
echo "previous_tag=$prev" >> $GITHUB_OUTPUT
115115
116116
if [ -z "$prev" ]; then
117-
echo "changed=true" >> $GITHUB_OUTPUT
118-
exit 0
117+
echo "changed=true" >> $GITHUB_OUTPUT
118+
exit 0
119119
fi
120120
121121
echo "Previous tag: $prev"
122122
echo "Current commit: $current"
123123
124124
diff=$(git diff --name-only "$prev" "$current")
125-
echo "diff_files=$diff" >> $GITHUB_OUTPUT
125+
126+
{
127+
echo "diff_files<<EOF"
128+
echo "$diff"
129+
echo "EOF"
130+
} >> "$GITHUB_OUTPUT"
126131
127132
if echo "$diff" | grep -qE '^StarMap.API/|^StarMap.API.csproj'; then
128-
echo "changed=true" >> $GITHUB_OUTPUT
133+
echo "changed=true" >> $GITHUB_OUTPUT
129134
else
130-
echo "changed=false" >> $GITHUB_OUTPUT
135+
echo "changed=false" >> $GITHUB_OUTPUT
131136
fi
132137
133138
- name: Pack and push StarMap.API (if changed)

StarMap.API/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Any method within this class that has any of the attributes will used, so if two
88

99
## Attributes
1010

11-
- StarMapMod: Main attribute to mark the mod class
12-
- StarMapImmediateLoad: Called immediatly when the mod is loaded in KSA
13-
- StarMapAllModsLoaded: Called once all mods are loaded, can be used when this mod has a dependency on another mod
14-
- StarMapUnload: Called when KSA is unloaded
15-
- StarMapBeforeGui: Called just before KSA starts drawing its Ui
16-
- StarMapAfterGui: Called after KSA has drawn its Ui
11+
- StarMapMod: Main attribute to mark the mod class.
12+
- StarMapImmediateLoad: Called immediatly when the mod is loaded in KSA.
13+
- StarMapAllModsLoaded: Called once all mods are loaded, can be used when this mod has a dependency on another mod.
14+
- StarMapUnload: Called when KSA is unloaded.
15+
- StarMapBeforeGui: Called just before KSA starts drawing its Ui.
16+
- StarMapAfterGui: Called after KSA has drawn its Ui.

0 commit comments

Comments
 (0)