-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (37 loc) · 990 Bytes
/
release.yaml
File metadata and controls
43 lines (37 loc) · 990 Bytes
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
41
42
43
name: Release
on:
push:
tags:
- "*"
- "!nightly-*"
concurrency:
group: ${{ github.workflow_sha }}-${{ github.ref_name }}
cancel-in-progress: true
permissions:
contents: write
jobs:
resolve-commits:
uses: ./.github/workflows/_resolve_openxla_commits.yaml
with:
source: pinned
pjrt-artifacts:
needs: resolve-commits
uses: ./.github/workflows/_build.yaml
with:
xla_commit: ${{ needs.resolve-commits.outputs.xla_commit }}
rocm_xla_commit: ${{ needs.resolve-commits.outputs.rocm_xla_commit }}
secrets:
BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}
release:
name: "Release PJRT Artifacts"
needs: ["pjrt-artifacts"]
runs-on: ubuntu-latest
steps:
- run: rm -rf pjrt*.tar.gz
- name: Download all artifacts
uses: actions/download-artifact@v4
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
*.tar.gz/*.tar.gz