22 lines
744 B
YAML
22 lines
744 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions
|
|
on: [push]
|
|
|
|
jobs:
|
|
Explore-Gitea-Actions:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: echo " The job was automatically triggered by a ${{ gitea.event_name }} event. test 4"
|
|
- run: echo " This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
|
- run: echo " The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: '1.22'
|
|
|
|
- name: Use Go Action
|
|
id: use-go-action
|
|
uses: https://gitea.champs-libres.be/julienfastre/action-create-pr@main
|
|
with:
|
|
username: foo
|