Now don't use broken gh-describe
Signed-off-by: Maxim Logaev <maxlogaev@proton.me>
This commit is contained in:
parent
9afa4ddb72
commit
d6a6bdc546
5
.github/workflows/build-win64.yml
vendored
5
.github/workflows/build-win64.yml
vendored
|
@ -12,9 +12,6 @@ jobs:
|
|||
install: git
|
||||
- run: git config --global core.autocrlf input
|
||||
- uses: actions/checkout@v4
|
||||
- name: Git describe
|
||||
id: ghd
|
||||
uses: proudust/gh-describe@v2
|
||||
- name: Build Dino
|
||||
run: |
|
||||
msys2 -c './build-win64.sh --prepare'
|
||||
|
@ -35,4 +32,4 @@ jobs:
|
|||
file: windows-installer/dino-installer.exe
|
||||
asset_name: dino-installer.exe
|
||||
tag: ${{ github.ref }}
|
||||
release_name: Dino ${{ steps.ghd.outputs.describe }}
|
||||
release_name: Dino ${{ github.ref_name }}
|
||||
|
|
42
.github/workflows/build.yml
vendored
42
.github/workflows/build.yml
vendored
|
@ -31,27 +31,21 @@ jobs:
|
|||
image: bilelmoussaoui/flatpak-github-actions:gnome-44
|
||||
options: --privileged
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- run: flatpak repair --user
|
||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
|
||||
with:
|
||||
manifest-path: im.dino.Dino.json
|
||||
build-bundle: true
|
||||
- name: Git describe
|
||||
if: ${{ github.ref_type == 'tag' }}
|
||||
id: ghd
|
||||
uses: proudust/gh-describe@v2
|
||||
with:
|
||||
default: ''
|
||||
- name: Release Dino installer
|
||||
if: ${{ github.ref_type == 'tag' }}
|
||||
uses: svenstaro/upload-release-action@2.9.0
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: app.flatpak
|
||||
asset_name: app.flatpak
|
||||
tag: ${{ github.ref }}
|
||||
release_name: Dino ${{ steps.ghd.outputs.describe }}
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
submodules: true
|
||||
- run: flatpak repair --user
|
||||
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
|
||||
with:
|
||||
manifest-path: im.dino.Dino.json
|
||||
build-bundle: true
|
||||
- name: Release Dino installer
|
||||
if: ${{ github.ref_type == 'tag' }}
|
||||
uses: svenstaro/upload-release-action@2.9.0
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
file: app.flatpak
|
||||
asset_name: app.flatpak
|
||||
tag: ${{ github.ref }}
|
||||
release_name: Dino ${{ github.ref_name }}
|
||||
|
|
Loading…
Reference in a new issue