23 lines
706 B
YAML
23 lines
706 B
YAML
name: Gitea Actions Demo
|
|
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
|
|
on: [push]
|
|
jobs:
|
|
Dump Gitea Context:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: yank release
|
|
run: >
|
|
curl -X POST -H "Content-Type: application/json"
|
|
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}"
|
|
"git.beisel.it/api/v1/repos/florian/test/releases/tags/nightly"
|
|
- step: test
|
|
uses: akkuman/gitea-release-action@v1
|
|
env:
|
|
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
|
with:
|
|
files: |-
|
|
test/**
|
|
tag_name: nightly
|