mirror of
https://github.com/docker/setup-qemu-action.git
synced 2025-04-06 14:50:40 +08:00
45 lines
775 B
YAML
45 lines
775 B
YAML
name: ci
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
|
|
|
|
# on:
|
|
# schedule:
|
|
# - cron: '0 10 * * *'
|
|
# push:
|
|
# branches:
|
|
# - 'master'
|
|
# - 'releases/v*'
|
|
# tags:
|
|
# - 'v*'
|
|
# pull_request:
|
|
|
|
jobs:
|
|
default:
|
|
runs-on: self-hosted
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
local-cache-path:
|
|
- tmp/cache
|
|
- ''
|
|
steps:
|
|
-
|
|
name: Checkout
|
|
uses: actions/checkout@v4
|
|
-
|
|
name: Set up QEMU
|
|
id: qemu
|
|
uses: ./
|
|
with:
|
|
local-cache-path: ${{ matrix.local-cache-path }}
|
|
-
|
|
name: Available platforms
|
|
run: echo ${{ steps.qemu.outputs.platforms }}
|