mirror of
https://code.forgejo.org/actions/setup-forgejo.git
synced 2024-11-24 00:31:02 -05:00
17 lines
434 B
YAML
17 lines
434 B
YAML
name: Setup Forgejo
|
|
run-name: ${{ github.actor }} is setting up Forgejo
|
|
on: [push]
|
|
jobs:
|
|
setup-forgejo:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- id: forgejo
|
|
uses: SELF@vTest
|
|
with:
|
|
image-version: 1.19
|
|
- run: |
|
|
set -ex
|
|
test "${{ steps.forgejo.outputs.token }}"
|
|
curl ${{ steps.forgejo.outputs.url }}/api/forgejo/v1/version | grep 1.19
|
|
|