-
Notifications
You must be signed in to change notification settings - Fork 2
40 lines (35 loc) · 1.08 KB
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Build stable releases on push to openslide-winbuild main.
# Nightly builds from Git are handled elsewhere.
name: Build main
on:
push:
branches: [main]
permissions:
contents: read
jobs:
setup:
name: Set up
runs-on: ubuntu-latest
outputs:
builder_repo_and_digest: ${{ steps.find.outputs.builder_repo_and_digest }}
pkgver: ${{ steps.params.outputs.pkgver }}
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Find builder container digest
id: find
uses: ./.github/find-container-digest
- name: Calculate parameters
id: params
run: echo "pkgver=main" >> $GITHUB_OUTPUT
cross-platform-builds:
name: Cross-platform builds
needs: setup
uses: ./.github/workflows/build.yml
with:
builder_repo_and_digest: ${{ needs.setup.outputs.builder_repo_and_digest }}
openslide_repo: openslide/openslide
openslide_ref: main
openslide_winbuild_repo: ${{ github.repository }}
openslide_winbuild_ref: ${{ github.ref }}
pkgver: ${{ needs.setup.outputs.pkgver }}