Test NewAction
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: Build and Release Project
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
run-name: Building and Releasing Main Branch 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
@@ -17,12 +17,20 @@ jobs:
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: ${{ matrix.dotnet }}
|
||||
- name: Build/Publish Project
|
||||
- name: Build / Publish Project
|
||||
run: dotnet publish GiteaTest.sln -p:PublishProfile=${{ matrix.publishprofile }}
|
||||
- name: Pack Release
|
||||
- name: Pack Linux Release
|
||||
if: ${{ matrix.publishprofile == 'PublishLinuxX64' }}
|
||||
run: tar -cvzf ${{ matrix.publishprofile }}.tar.gz -C GiteaTest/publish .
|
||||
- name: Release ${{ matrix.publishprofile }}.tar.gz
|
||||
- name: Pack Windows Release
|
||||
if: ${{ matrix.publishprofile == 'PublishWinX64' }}
|
||||
run: zip ${{ matrix.publishprofile }}.zip GiteaTest/publish/*
|
||||
- name: Release Files
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
name: Yee
|
||||
body: Test
|
||||
prerelease: false
|
||||
md5sum: true
|
||||
files: |-
|
||||
${{ matrix.publishprofile }}.tar.gz
|
||||
${{ matrix.publishprofile }}.*
|
||||
|
||||
Reference in New Issue
Block a user