2024-02-15 11:17:28 +01:00
|
|
|
name: Gitea Actions Demo
|
|
|
|
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
|
|
|
|
on: [push]
|
2024-02-15 11:13:13 +01:00
|
|
|
jobs:
|
|
|
|
Dump Gitea Context:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-02-15 11:24:14 +01:00
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
2024-02-15 11:44:39 +01:00
|
|
|
- name: yank release
|
|
|
|
run: >
|
|
|
|
curl -X POST -H "Content-Type: application/json"
|
|
|
|
-H "Authorization: token ${{ secrets.GITEA_TOKEN }}"
|
2024-02-15 11:47:35 +01:00
|
|
|
"git.beisel.it/api/v1/repos/florian/test/releases/tags/nightly"
|
2024-02-15 11:14:47 +01:00
|
|
|
- step: test
|
|
|
|
uses: akkuman/gitea-release-action@v1
|
|
|
|
env:
|
2024-02-15 11:13:13 +01:00
|
|
|
NODE_OPTIONS: '--experimental-fetch' # if nodejs < 18
|
2024-02-15 11:14:47 +01:00
|
|
|
with:
|
|
|
|
files: |-
|
2024-02-15 11:21:58 +01:00
|
|
|
test/**
|
2024-02-15 11:44:39 +01:00
|
|
|
tag_name: nightly
|