Test prerelease
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
name: Build and Release Project
|
name: Build and Release Project
|
||||||
run-name: Building and Releasing Main Branch 🚀
|
run-name: Building and Releasing Main Branch 🚀
|
||||||
on: [push]
|
on:
|
||||||
|
push:
|
||||||
|
branches-ignore:
|
||||||
|
- 'prerelease'
|
||||||
|
tags:
|
||||||
|
- '**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -24,7 +29,7 @@ jobs:
|
|||||||
run: tar -cvzf ${{ matrix.publishprofile }}.tar.gz -C GiteaTest/publish .
|
run: tar -cvzf ${{ matrix.publishprofile }}.tar.gz -C GiteaTest/publish .
|
||||||
- name: Pack Windows Release
|
- name: Pack Windows Release
|
||||||
if: ${{ matrix.publishprofile == 'PublishWinX64' }}
|
if: ${{ matrix.publishprofile == 'PublishWinX64' }}
|
||||||
run: zip ${{ matrix.publishprofile }}.zip GiteaTest/publish/*
|
run: cd GiteaTest/publish/ && zip ../../${{ matrix.publishprofile }}.zip *
|
||||||
- name: Release Files
|
- name: Release Files
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
Reference in New Issue
Block a user