-
Notifications
You must be signed in to change notification settings - Fork 7
68 lines (57 loc) · 1.91 KB
/
Copy pathrelease.yml
File metadata and controls
68 lines (57 loc) · 1.91 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Build and Release
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
contents: write
packages: write
jobs:
# Use reusable workflow for Windows build
build-windows:
uses: ./.github/workflows/build-windows.yml
# macOS build temporarily disabled. When ready, switch to the reusable workflow below.
# build-macos:
# uses: ./.github/workflows/build-macos.yml
release:
name: Create GitHub Release
runs-on: ubuntu-latest
needs:
- build-windows
steps:
- name: Download Windows artifacts
uses: actions/download-artifact@v4
with:
name: windows-build
path: release
# - name: Download macOS artifacts
# uses: actions/download-artifact@v4
# with:
# name: macos-build
# path: release
- name: Create Release
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: |
release/*.exe
release/*.exe.blockmap
release/latest.yml
draft: false
prerelease: false
generate_release_notes: true
name: DevUtils ${{ github.ref_name }}
body: |
# 🚀 DevUtils ${{ github.ref_name }}
Download the version that suits your needs:
## Windows Version
- **DevUtils Setup ${{ github.ref_name }}.exe** - Full installer with shortcuts and uninstaller
- **DevUtils-Portable-${{ github.ref_name }}.exe** - Portable version, no installation required
### 🔧 System Requirements
- Windows 10 or later (64-bit)
- No additional dependencies required
## 🆕 What's New
See [CHANGELOG.md](https://github.com/ahammadabdullah/dev-utils/blob/main/CHANGELOG.md) for detailed changes.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}