-
Notifications
You must be signed in to change notification settings - Fork 111
41 lines (37 loc) · 1.11 KB
/
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
39
40
name: Release
on:
workflow_dispatch:
inputs:
version:
description: 'Release version'
required: false
default: 'master'
type: string
jobs:
build:
uses: ./.github/workflows/pyinstaller-build.yml
with:
version: ${{ github.event.inputs.version }}
deploy:
runs-on: ubuntu-22.04
needs: build
permissions:
contents: write
id-token: write
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Make release
run: >
gh release create ${{ github.event.inputs.version }} \
--repo angr/angr-management \
--title "angr management ${{ github.event.inputs.version }}" \
--notes "$RELEASE_NOTES" \
--target $GITHUB_SHA \
$(find . -type f)
env:
RELEASE_NOTES: >
Mac users: Make sure to select the build that matches your CPU
archetecture. Both are currently not signed, so you will need to
right-click and select "Open" the first time you run them.
GH_TOKEN: ${{ github.token }}