forked from SoDOff-Project/sodoff
Update .gitea/workflows/build-and-publish.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 49s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 49s
This commit is contained in:
parent
f281b4da6a
commit
8ae8f052c2
@ -1,18 +1,19 @@
|
|||||||
name: Build And Publish Docker Container
|
name: Gitea Actions Demo
|
||||||
run-name: ${{ gitea.actor }} is runs ci pipeline
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||||
on: [ push ]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
Explore-Gitea-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||||
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
- name: Setup .NET 6
|
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||||
uses: actions/setup-dotnet@v4
|
- name: Check out repository code
|
||||||
with:
|
uses: actions/checkout@v4
|
||||||
dotnet-version: '6.x'
|
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
- run: dotnet restore ./src/sodoff.csproj
|
- name: List files in the repository
|
||||||
- run: dotnet build --configuration Release ./src/sodoff.csproj
|
run: |
|
||||||
- run: dotnet publish ./src/sodoff.csproj
|
ls ${{ gitea.workspace }}
|
||||||
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
Loading…
x
Reference in New Issue
Block a user