mirror of
https://code.forgejo.org/actions/setup-forgejo
synced 2025-03-14 22:27:01 +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:
|
||||
integration:
|
||||
runs-on: lxc-bookworm
|
||||
name: integration (${{ matrix.info.image }}:${{ matrix.info.version }})
|
||||
strategy:
|
||||
matrix:
|
||||
info:
|
||||
|
@ -34,10 +35,14 @@ jobs:
|
|||
|
||||
binary:
|
||||
runs-on: lxc-bookworm
|
||||
name: binary (${{ matrix.binary.version }})
|
||||
strategy:
|
||||
matrix:
|
||||
- binary: https://codeberg.org/forgejo/forgejo/releases/download/v1.21.2-1/forgejo-1.21.2-1-linux-amd64
|
||||
- binary: https://codeberg.org/forgejo/forgejo/releases/download/v1.20.6-1/forgejo-1.20.6-1-linux-amd64
|
||||
binary:
|
||||
- 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:
|
||||
- uses: actions/checkout@v4
|
||||
- shell: bash
|
||||
|
@ -49,7 +54,7 @@ jobs:
|
|||
|
||||
forgejo-binary.sh ensure_user forgejo
|
||||
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
|
||||
export FORGEJO_RUNNER_LOGS=$DIR/forgejo-runner.log
|
||||
|
|
Loading…
Add table
Reference in a new issue