This commit is contained in:
@@ -2,6 +2,8 @@ name: Build CI
|
||||
# on: [push]
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v*"
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
@@ -63,10 +65,11 @@ jobs:
|
||||
- name: Save Artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: Prod-latest-x86_64.AppImage
|
||||
name: Prod-${{ github.ref_type == "tag" && github.ref_name || "master" }}-x86_64.AppImage
|
||||
path: Prod-latest-x86_64.AppImage
|
||||
|
||||
- name: Create New Release
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
files: Prod-latest-x86_64.AppImage
|
||||
prerelease: true
|
||||
prerelease: ${{ github.ref_type == "tag" }}
|
||||
|
||||
Reference in New Issue
Block a user