mirror of
https://github.com/NohamR/Reclass.git
synced 2026-05-10 19:59:21 +00:00
CI: consolidate win64+linux64 into single latest release, no pre-release
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
27
.github/workflows/build.yml
vendored
27
.github/workflows/build.yml
vendored
@@ -71,20 +71,19 @@ jobs:
|
|||||||
cp -r build/Plugins release/ 2>/dev/null || true
|
cp -r build/Plugins release/ 2>/dev/null || true
|
||||||
cp -r build/themes release/ 2>/dev/null || true
|
cp -r build/themes release/ 2>/dev/null || true
|
||||||
cp build/screenshot.png release/ 2>/dev/null || true
|
cp build/screenshot.png release/ 2>/dev/null || true
|
||||||
cd release && 7z a ../win64-reclass-latest.zip *
|
cd release && 7z a ../Reclass-win64.zip *
|
||||||
|
|
||||||
- name: Update win64 release
|
- name: Upload release asset
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: latest-win64
|
tag_name: latest
|
||||||
name: win64
|
name: Latest Build
|
||||||
body: |
|
body: |
|
||||||
Windows x64 build from main branch.
|
Automated build from main branch.
|
||||||
Commit: ${{ github.sha }}
|
Commit: ${{ github.sha }}
|
||||||
prerelease: true
|
prerelease: false
|
||||||
files: win64-reclass-latest.zip
|
files: Reclass-win64.zip
|
||||||
make_latest: false
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
@@ -157,18 +156,16 @@ jobs:
|
|||||||
name: Reclass-Linux-x64
|
name: Reclass-Linux-x64
|
||||||
path: Reclass-x86_64.AppImage
|
path: Reclass-x86_64.AppImage
|
||||||
|
|
||||||
- name: Update linux64 release
|
- name: Upload release asset
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: latest-linux64
|
tag_name: latest
|
||||||
name: linux64
|
name: Latest Build
|
||||||
body: |
|
body: |
|
||||||
Linux x64 AppImage build from main branch.
|
Automated build from main branch.
|
||||||
Commit: ${{ github.sha }}
|
Commit: ${{ github.sha }}
|
||||||
Run `chmod +x Reclass-x86_64.AppImage && ./Reclass-x86_64.AppImage`
|
prerelease: false
|
||||||
prerelease: true
|
|
||||||
files: Reclass-x86_64.AppImage
|
files: Reclass-x86_64.AppImage
|
||||||
make_latest: false
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user