-
Notifications
You must be signed in to change notification settings - Fork 1
86 lines (69 loc) · 2.56 KB
/
create-draft-release.yml
File metadata and controls
86 lines (69 loc) · 2.56 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
name: Create Draft Release
on:
workflow_call:
inputs:
version:
description: 'Version for release'
required: true
type: string
version_tag:
description: 'Git tag'
required: true
type: string
artifact_names:
description: 'Comma-separated list of artifact names to include'
required: true
type: string
jobs:
create-release:
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
- name: List artifacts
run: |
echo "Downloaded artifacts:"
ls -R artifacts/
- name: Create draft release
uses: softprops/action-gh-release@v1
with:
draft: true
tag_name: ${{ inputs.version_tag }}
name: Requestly Desktop App v${{ inputs.version }}
body: |
# Requestly Desktop App v${{ inputs.version }}
## Downloads
### macOS
- **Apple Silicon (M1/M2/M3)**: Download `Requestly-${{ inputs.version }}-arm64.dmg`
- **Intel**: Download `Requestly-${{ inputs.version }}.dmg`
### Windows
- **Windows (x64)**: Download `Requestly-Setup-${{ inputs.version }}.exe`
### Linux
- **Linux (x86_64)**: Download `Requestly-${{ inputs.version }}.AppImage`
## Installation Instructions
### macOS
1. Download the appropriate DMG for your Mac
2. Open DMG and drag Requestly to Applications
3. First launch: Right-click → Open
### Windows
1. Download and run the Setup.exe
2. Follow installer prompts
### Linux
1. Download AppImage
2. Make executable: `chmod +x Requestly-*.AppImage`
3. Run: `./Requestly-*.AppImage`
---
🤖 Generated with [GitHub Actions](${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }})
files: |
artifacts/**/*
env:
GITHUB_TOKEN: ${{ secrets.publish_token }}
- name: Summary
run: |
echo "### 🎉 Draft Release Created" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "- **Version**: v${{ inputs.version }}" >> $GITHUB_STEP_SUMMARY
echo "- **Tag**: ${{ inputs.version_tag }}" >> $GITHUB_STEP_SUMMARY
echo "- **View**: [Releases](https://github.com/${{ github.repository }}/releases)" >> $GITHUB_STEP_SUMMARY