Compare commits

...

2 commits

Author SHA1 Message Date
Maxim Logaev adb70d56bb try fix 2
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-04-15 20:43:53 +03:00
Maxim Logaev fe2647646a Try fix flatpac1
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
2024-04-15 20:40:16 +03:00
3 changed files with 3 additions and 45 deletions

View file

@ -1,42 +0,0 @@
name: Build for Windows
on: [pull_request, push]
jobs:
build:
runs-on: windows-latest
steps:
- uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
update: true
install: git
- run: git config --global core.autocrlf input
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install build-dependencies
run: |
msys2 -c './build-win64.sh --prepare'
- name: Build Dino (Meson, without saving)
run: |
msys2 -c './build-win64.sh -s meson -c -b -t -w'
- name: Build Dino (CMake)
run: |
msys2 -c './build-win64.sh -s cmake -c -b -t -i'
- name: Build Dino installer
run: |
msys2 -c './build-win64.sh --build-installer'
- name: Upload Dino installer
uses: actions/upload-artifact@v4
with:
name: dino-installer
path: windows-installer/dino-installer.exe
- name: Release Dino installer
if: ${{ github.ref_type == 'tag' }}
uses: svenstaro/upload-release-action@2.9.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: windows-installer/dino-installer.exe
asset_name: dino-installer.exe
tag: ${{ github.ref }}
release_name: Dino ${{ github.ref_name }}

View file

@ -38,7 +38,7 @@ jobs:
- run: flatpak repair --user - run: flatpak repair --user
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1 - uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
with: with:
manifest-path: im.dino.Dino.json manifest-path: im.dino.DinoPlus.json
build-bundle: true build-bundle: true
- name: Release Dino installer - name: Release Dino installer
if: ${{ github.ref_type == 'tag' }} if: ${{ github.ref_type == 'tag' }}

View file

@ -1,5 +1,5 @@
{ {
"id": "im.dino.Dino", "id": "im.dino.DinoPlus",
"runtime": "org.gnome.Platform", "runtime": "org.gnome.Platform",
"runtime-version": "44", "runtime-version": "44",
"sdk": "org.gnome.Sdk", "sdk": "org.gnome.Sdk",
@ -74,4 +74,4 @@
] ]
} }
] ]
} }