Skip to content

Commit ddf2b54

Browse files
authored
Merge pull request YimMenu-Lua#68 from acidlabsgg/main
fix(CI): disable broken check
2 parents 9b60cf9 + 545c509 commit ddf2b54

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

.github/workflows/zip-release.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,8 @@ jobs:
5757
git add includes/lib/translations/
5858
git add scripts/translations/hashmap.json || true
5959
60-
- name: Check Changes
61-
id: check_changes
62-
run: |
63-
if git diff --name-only origin/main | grep '\.lua$' > /dev/null; then
64-
echo "should_release=true" >> $GITHUB_OUTPUT
65-
else
66-
echo "should_release=false" >> $GITHUB_OUTPUT
67-
fi
68-
69-
- name: Skip If No Change
70-
if: steps.check_changes.outputs.should_release == 'false'
71-
run: |
72-
echo "Nothing to release."
73-
exit 0
74-
7560
- name: Increment Tag
7661
id: increment_tag
77-
if: steps.check_changes.outputs.should_release == 'true'
7862
uses: actions/github-script@v7
7963
with:
8064
script: |
@@ -108,7 +92,6 @@ jobs:
10892
core.setOutput("old_tag", old_tag);
10993
11094
- name: Bump Version
111-
if: steps.check_changes.outputs.should_release == 'true'
11295
run: |
11396
sed -i "s|return \".*\"|return \"${{steps.increment_tag.outputs.no_prefix}}\"|" includes/version.lua
11497
sed -i "s|https://img.shields.io/badge/Script%20Version-v[0-9]\+\.[0-9]\+\.[0-9]\+-blue|https://img.shields.io/badge/Script%20Version-${{steps.increment_tag.outputs.version_number}}-blue|g" README.md
@@ -119,15 +102,13 @@ jobs:
119102
git push
120103
121104
- name: Create Archive
122-
if: steps.check_changes.outputs.should_release == 'true'
123105
uses: thedoctor0/zip-release@0.7.6
124106
with:
125107
type: 'zip'
126108
filename: "Samurais_Scripts_${{steps.increment_tag.outputs.version_number}}.zip"
127109
exclusions: /.git* /scripts* /docs* *.json *.md *.editorconfig *.py
128110

129111
- name: Upload Release
130-
if: steps.check_changes.outputs.should_release == 'true'
131112
uses: softprops/action-gh-release@v2
132113
with:
133114
name: Samurai's Scripts ${{steps.increment_tag.outputs.version_number}}

0 commit comments

Comments
 (0)