mirror of
https://code.forgejo.org/actions/setup-forgejo
synced 2025-03-15 14:44:38 +01:00
ci: proper matrix job names (#310)
show better job names for easier targeting in branch protections Reviewed-on: https://code.forgejo.org/actions/setup-forgejo/pulls/310 Reviewed-by: earl-warren <earl-warren@noreply.code.forgejo.org> Co-authored-by: Michael Kriese <michael.kriese@visualon.de> Co-committed-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
parent
f9636465e6
commit
834d6ebe2a
1 changed files with 8 additions and 3 deletions
|
@ -8,6 +8,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
integration:
|
integration:
|
||||||
runs-on: lxc-bookworm
|
runs-on: lxc-bookworm
|
||||||
|
name: integration (${{ matrix.info.image }}:${{ matrix.info.version }})
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
info:
|
info:
|
||||||
|
@ -34,10 +35,14 @@ jobs:
|
||||||
|
|
||||||
binary:
|
binary:
|
||||||
runs-on: lxc-bookworm
|
runs-on: lxc-bookworm
|
||||||
|
name: binary (${{ matrix.binary.version }})
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
- binary: https://codeberg.org/forgejo/forgejo/releases/download/v1.21.2-1/forgejo-1.21.2-1-linux-amd64
|
binary:
|
||||||
- binary: https://codeberg.org/forgejo/forgejo/releases/download/v1.20.6-1/forgejo-1.20.6-1-linux-amd64
|
- version: 1.21.2-1
|
||||||
|
file: https://codeberg.org/forgejo/forgejo/releases/download/v1.21.2-1/forgejo-1.21.2-1-linux-amd64
|
||||||
|
- version: 1.20.6-1
|
||||||
|
file: https://codeberg.org/forgejo/forgejo/releases/download/v1.20.6-1/forgejo-1.20.6-1-linux-amd64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- shell: bash
|
- shell: bash
|
||||||
|
@ -49,7 +54,7 @@ jobs:
|
||||||
|
|
||||||
forgejo-binary.sh ensure_user forgejo
|
forgejo-binary.sh ensure_user forgejo
|
||||||
chown forgejo $DIR
|
chown forgejo $DIR
|
||||||
su -c "DIR=$DIR bash -x forgejo-binary.sh setup root admin1234 ${{ matrix.binary }}" forgejo
|
su -c "DIR=$DIR bash -x forgejo-binary.sh setup root admin1234 ${{ matrix.binary.file }}" forgejo
|
||||||
|
|
||||||
su -c "DIR=$DIR bash -x forgejo-runner.sh setup" forgejo
|
su -c "DIR=$DIR bash -x forgejo-runner.sh setup" forgejo
|
||||||
export FORGEJO_RUNNER_LOGS=$DIR/forgejo-runner.log
|
export FORGEJO_RUNNER_LOGS=$DIR/forgejo-runner.log
|
||||||
|
|
Loading…
Add table
Reference in a new issue