-
-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (32 loc) · 966 Bytes
/
release.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
name: Upload new release
on:
workflow_dispatch:
inputs:
tag:
description: Version to use for release tag
required: true
jobs:
build:
uses: ./.github/workflows/build.yml
release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
env:
GH_TOKEN: ${{github.token}}
TAG: ${{github.event.inputs.tag}}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Download binaries from GitHub Actions
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
pattern: bootstrap-*
path: bootstrap-binaries
merge-multiple: true
- name: Push tag
run: gh release create "$TAG" --generate-notes
- name: Upload to GitHub Releases
run: gh release upload "$TAG" bootstrap-binaries/*.tar.gz