Skip to content

Commit 6faed39

Browse files
[no ci] Fix nightly wiki link
1 parent cf557e1 commit 6faed39

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/branch_sync.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,13 @@ jobs:
133133
LAUNCHER_RELEASE_DESCRIPTION: |
134134
This release appends assets every day, the one with the highest number is the latest one.
135135
136-
Please use releases from https://mcpelauncher.readthedocs.io/.
136+
Please use releases from [minecraft-linux.github.io](https://minecraft-linux.github.io/)
137137
138138
Builds from this tag are very very unstable, but new changes lands here earlier.
139139
140140
**The macOS binaries provided here don't support the builtin updater, you risk falling behind updates while using a nightly**
141+
142+
AppImages are deprecated due to organized piracy
141143
steps:
142144
- uses: actions/checkout@v3
143145
- name: Setup Vars
@@ -162,9 +164,14 @@ jobs:
162164
./ghr*/ghr -t ${{ secrets.GITHUB_TOKEN }} -u ${{ steps.setup-vars.outputs.owner }} -r ${{ steps.setup-vars.outputs.repo }} -b "$LAUNCHER_RELEASE_DESCRIPTION" -replace "nightly" output/
163165
- name: Update Quick Links
164166
run: |
167+
LAUNCHER_RELEASE_DESCRIPTION="${LAUNCHER_RELEASE_DESCRIPTION}Last Updated on $(date)
168+
"
165169
for file in *; do
166-
LAUNCHER_RELEASE_DESCRIPTION="$LAUNCHER_RELEASE_DESCRIPTION- [$file](${{ github.server_url }}/${{ steps.setup-vars.outputs.owner }}/${{ steps.setup-vars.outputs.repo }}/releases/download/nightly/$file)
170+
if [[ "$file" =~ \.AppImage$ && "$file" =~ \.dmg$ ]]
171+
then
172+
LAUNCHER_RELEASE_DESCRIPTION="$LAUNCHER_RELEASE_DESCRIPTION- [$file](${{ github.server_url }}/${{ steps.setup-vars.outputs.owner }}/${{ steps.setup-vars.outputs.repo }}/releases/download/nightly/$file)
167173
"
174+
fi
168175
done
169176
gh release edit nightly --notes "$LAUNCHER_RELEASE_DESCRIPTION"
170177
working-directory: output

0 commit comments

Comments
 (0)