-
Notifications
You must be signed in to change notification settings - Fork 3
53 lines (45 loc) · 1.59 KB
/
Copy pathrelease.yml
File metadata and controls
53 lines (45 loc) · 1.59 KB
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
44
45
46
47
48
49
50
51
52
53
name: Release
on:
workflow_dispatch:
permissions:
id-token: write
attestations: write
jobs:
build:
uses: ./.github/workflows/build.yml
release:
runs-on: ubuntu-latest
needs: build
permissions:
contents: write
steps:
- name: Download all artifacts
uses: actions/download-artifact@v8
with:
path: artifacts
merge-multiple: true
- name: Set up release environment
run: |
DATE=$(date +'%Y-%m-%d')
echo "REPO_NAME=$GITHUB_REPOSITORY" >> $GITHUB_ENV
echo "REPO_HASH=$GITHUB_SHA" >> $GITHUB_ENV
echo "RELEASE_DATE=$DATE" >> $GITHUB_ENV
- name: Create release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.RELEASE_DATE }}
name: Sail RISC-V Tests - ${{ env.RELEASE_DATE }}
body: |
Precompiled binaries for testing of the Sail RISC-V model.
Built with:
${{ env.REPO_NAME }}: ${{ env.REPO_HASH}}
riscv-tests: ${{ needs.build.outputs.riscv_tests_hash }}
riscv-vector-tests: ${{ needs.build.outputs.riscv_vector_tests_hash }}
riscv-arch-test: ${{ needs.build.outputs.riscv_arch_tests_hash }}
damo-rv-priv-ats: ${{ needs.build.outputs.damo_hash }}
Spike: ${{ needs.build.outputs.spike_hash }}
Toolchain release: ${{ needs.build.outputs.toolchain_release }}
Sail RISC-V release: ${{ needs.build.outputs.sail_riscv_release }}
draft: true
files: artifacts/*
fail_on_unmatched_files: true