-
Notifications
You must be signed in to change notification settings - Fork 15
53 lines (50 loc) · 1.13 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
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Release
on:
workflow_dispatch:
release:
types:
- published
workflow_run:
workflows: ["Update Latest"]
types: [completed]
jobs:
Build_Packages:
name: Build Packages
secrets: inherit
permissions:
contents: write
checks: write
actions: read
issues: read
packages: write
pull-requests: read
repository-projects: read
statuses: read
uses: ./.github/workflows/build_pkg.yml
Upload_Artifacts:
name: Upload to release artifacts
needs: Build_Packages
permissions:
contents: write
checks: write
actions: read
issues: read
packages: write
pull-requests: read
repository-projects: read
statuses: read
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
name: freebsd-14
path: target/
- uses: actions/download-artifact@v4
with:
name: freebsd-13
path: target/
- uses: alexellis/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
with:
asset_paths: '[ "target/*.pkg" ]'