1
- name : Release
1
+ name : 🚀 Release
2
2
3
3
on :
4
4
push :
@@ -11,33 +11,33 @@ jobs:
11
11
permissions :
12
12
contents : write
13
13
steps :
14
- - name : Checkout
14
+ - name : 📦 Checkout
15
15
uses : actions/checkout@v4
16
16
with :
17
17
show-progress : false
18
18
19
- - name : Install .NET
19
+ - name : 🛠 Install .NET
20
20
uses : actions/setup-dotnet@v4
21
21
with :
22
22
dotnet-version : |
23
23
8.x
24
24
9.x
25
25
26
- - name : Get the version
26
+ - name : 🏷 Get the version from tag
27
27
id : get_version
28
28
run : echo "GIT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
29
29
30
- - name : Build Packages
30
+ - name : 📦 Build NuGet Packages
31
31
run : |
32
32
./build.sh pack --SemVersion ${{ env.GIT_TAG }} --Configuration Release
33
33
34
- - name : Push Packages
34
+ - name : 🚀 Push Packages to NuGet
35
35
run : |
36
36
./build.cmd publish --skip
37
37
env :
38
38
NuGetApiKey : ${{ secrets.NUGETAPIKEY }}
39
39
40
- - name : Get release
40
+ - name : 🔎 Get GitHub Release Info
41
41
id : get_release
42
42
run : |
43
43
RELEASE_ID=$(gh api repos/ChilliCream/graphql-platform/releases/tags/${{ env.GIT_TAG }} --jq '.id')
@@ -47,17 +47,17 @@ jobs:
47
47
env :
48
48
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49
49
50
- - name : Upload Release Assets
50
+ - name : 📤 Upload .nupkg Release Assets
51
51
run : |
52
52
for file in ./output/packages/*.nupkg; do
53
- echo "Uploading $file"
53
+ echo "📤 Uploading $file"
54
54
gh release upload ${{ env.GIT_TAG }} "$file" --repo ChilliCream/graphql-platform
55
55
done
56
56
env :
57
57
GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
58
58
59
59
build-aot :
60
- name : Build AOT Binary
60
+ name : 🧱 Build Fusion Tooling
61
61
runs-on : ${{ matrix.os }}
62
62
needs : release
63
63
strategy :
@@ -98,15 +98,15 @@ jobs:
98
98
ext : " .exe"
99
99
100
100
steps :
101
- - name : Checkout
101
+ - name : 📦 Checkout
102
102
uses : actions/checkout@v4
103
103
104
- - name : Install .NET
104
+ - name : 🛠 Install .NET
105
105
uses : actions/setup-dotnet@v4
106
106
with :
107
107
dotnet-version : 9.x
108
108
109
- - name : Publish AOT binary
109
+ - name : 🧩 Publish AOT Binary for ${{ matrix.rid }}
110
110
run : |
111
111
dotnet publish ./src/HotChocolate/Fusion-vnext/src/Fusion.CommandLine \
112
112
-c Release \
@@ -117,12 +117,12 @@ jobs:
117
117
-p:TargetFrameworks=NET9.0 \
118
118
-o ./publish
119
119
120
- - name : Zip the binary
120
+ - name : 📦 Zip Binary
121
121
run : |
122
122
cd publish
123
123
zip ../fusion-${{ matrix.rid }}.zip fusion${{ matrix.ext }}
124
124
125
- - name : Upload zipped binary to GitHub Release
125
+ - name : 📤 Upload Zipped AOT Binary
126
126
run : |
127
127
gh release upload ${{ github.ref_name }} fusion-${{ matrix.rid }}.zip --repo ${{ github.repository }}
128
128
env :
0 commit comments