parent
f06d814620
commit
3397e98b1b
@ -1,19 +1,20 @@
|
|||||||
name: build
|
name: Gitea Actions Demo
|
||||||
|
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ main ]
|
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
Explore-Actions:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
|
||||||
with:
|
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||||
fetch-depth: 0
|
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
|
||||||
- run: git fetch --force --tags
|
- name: Check out repository code
|
||||||
- uses: actions/setup-go@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
|
||||||
go-version: '>=1.20.1'
|
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||||
- run: go run main.go
|
- name: List files in the repository
|
||||||
|
run: |
|
||||||
|
ls ${{ github.workspace }}
|
||||||
|
- run: echo "🍏 This job's status is ${{ job.status }}."
|
Loading…
Reference in New Issue
Block a user