Files
ATEST/.gitea/workflows/release.yml
T
Cantibra bde4f89e51
TEST / Job 1 (rpi-6.12.y, cicd.any) (push) Successful in 2s
TEST / Job 1 (rpi-6.18.y, cicd.any) (push) Successful in 1s
TEST / job2 (push) Successful in 3s
16
2026-05-06 08:37:34 +02:00

44 lines
1.2 KiB
YAML

name: TEST
on:
- push
jobs:
job1:
name: Job 1
outputs:
VERSION: ${{ steps.environment.outputs.version }}
strategy:
matrix:
include:
- branch: rpi-6.12.y
runner: cicd.any
- branch: rpi-6.18.y
runner: cicd.any
runs-on: ${{ matrix.runner }}
steps:
- name: Step 1
id: environment
run: |
VERSION='6.12.26'
/usr/bin/echo "VERSION=${VERSION}" >> "${GITHUB_OUTPUT}"
/usr/bin/echo "Version: ${VERSION}"
/usr/bin/echo "Branch: ${{ matrix.branch }}"
/usr/bin/echo "Runner: ${{ matrix.runner }}"
- name: Step 1
env:
VERSION: ${{ steps.environment.outputs.version }}
run: |
/usr/bin/fallocate -l 64M "./test-${VERSION}.tmp"
- name: Step 3
uses: https://github.com/christopherhx/gitea-upload-artifact@v7
with:
name: test-${{ steps.environment.outputs.version }}.tmp
path: ./test-${{ steps.environment.outputs.version }}.tmp
if-no-files-found: error
overwrite: true
archive: false
job2:
needs:
- job1
uses: ./.gitea/workflows/step1.yml
with:
VERSION: ${{ needs.job1.outputs.version }}