mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-11-05 02:46:56 +03:00
GitHub releases
This commit is contained in:
parent
940a71d110
commit
a7c818b2de
55
.github/workflows/build.yml
vendored
55
.github/workflows/build.yml
vendored
@ -59,6 +59,12 @@ jobs:
|
||||
cache: false
|
||||
branch: development
|
||||
|
||||
- name: Publish build artifacts
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
path: com.github.Murmele.Gittyup/*
|
||||
name: Gittyup Flatpak
|
||||
|
||||
|
||||
build:
|
||||
runs-on: ${{ matrix.env.os }}
|
||||
@ -73,13 +79,13 @@ jobs:
|
||||
openssl_arch: linux-x86_64
|
||||
cmake_env: {}
|
||||
|
||||
- name: mac
|
||||
os: macos-latest
|
||||
ninja_platform: mac
|
||||
qt_platform: mac
|
||||
openssl_arch: darwin64-x86_64-cc
|
||||
cmake_env: {}
|
||||
pack: 1
|
||||
#- name: mac
|
||||
#os: macos-latest
|
||||
#ninja_platform: mac
|
||||
#qt_platform: mac
|
||||
#openssl_arch: darwin64-x86_64-cc
|
||||
#cmake_env: {}
|
||||
#pack: 1
|
||||
|
||||
- name: win64
|
||||
os: windows-latest
|
||||
@ -206,4 +212,39 @@ jobs:
|
||||
run: |
|
||||
cd build/release
|
||||
ninja check
|
||||
|
||||
prerelease:
|
||||
# https://github.com/marvinpinto/actions/issues/177
|
||||
needs: [flatpak, build]
|
||||
runs-on: ubuntu-latest # does not matter which
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
|
||||
steps:
|
||||
- name: Download artifacts
|
||||
uses: actions/download-artifact@v2
|
||||
with:
|
||||
path: artifacts
|
||||
|
||||
- name: list artifacts folder
|
||||
run: |
|
||||
echo "Show artifacts folder:"
|
||||
ls artifacts
|
||||
echo "Show artifacts/Gittyup Flatpak folder:"
|
||||
ls "artifacts/Gittyup Flatpak"
|
||||
echo "Show artifacts/com.github.Murmele.Gittyup-x86_64:"
|
||||
ls "artifacts/com.github.Murmele.Gittyup-x86_64"
|
||||
|
||||
- name: Update GitHub prerelease
|
||||
if: ${{ github.ref == 'refs/heads/master' }}
|
||||
uses: marvinpinto/action-automatic-releases@latest
|
||||
with:
|
||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
automatic_release_tag: latest
|
||||
prerelease: true
|
||||
title: "Latest Build"
|
||||
files: |
|
||||
**/artifacts/Gittyup win64/Gittyup*.exe
|
||||
**/artifacts/Gittyup win32/Gittyup*.exe
|
||||
**/artifacts/Gittyup Flatpak/com.github.Murmele.Gittyup.yml
|
||||
**/com.github.Murmele.Gittyup-x86_64/*.flatpak
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user