Skip to content

Commit 8d2362b

Browse files
committed
Remove automatic release creation from build workflow
Builds now run on every push and upload artifacts, but don't automatically create releases. This avoids rebuilding when tagging a commit. To create a release: 1. Wait for the build to complete on the commit you want to release 2. Download the artifacts from that workflow run 3. Manually create a release and upload the artifacts Or use gh CLI to create a release from artifacts.
1 parent 388df04 commit 8d2362b

File tree

1 file changed

+0
-86
lines changed

1 file changed

+0
-86
lines changed

.github/workflows/build-clang.yml

Lines changed: 0 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ on:
44
push:
55
branches:
66
- null-safe-c-dev
7-
tags:
8-
- 'v*'
97
workflow_dispatch:
108

119
jobs:
@@ -66,42 +64,6 @@ jobs:
6664
name: clang-nullsafe-linux-x86_64
6765
path: install/clang-nullsafe-linux-x86_64.tar.gz
6866

69-
- name: Create Release
70-
uses: softprops/action-gh-release@v1
71-
with:
72-
files: install/clang-nullsafe-linux-x86_64.tar.gz
73-
body: |
74-
## Null-Safe Clang Binary Release
75-
76-
This release contains the Null-Safe Clang compiler and clangd language server for Linux x86_64.
77-
78-
### What's included:
79-
- `clang` - The Null-Safe C compiler
80-
- `clangd` - Language server for IDE integration (VSCode, vim, etc.)
81-
82-
### Installation:
83-
```bash
84-
tar -xzf clang-nullsafe-linux-x86_64.tar.gz
85-
export PATH=$PWD/bin:$PATH
86-
clang --version
87-
```
88-
89-
### Usage:
90-
```bash
91-
# Compile with null-safety warnings (default)
92-
clang mycode.c
93-
94-
# Promote warnings to errors
95-
clang -Werror=nullability mycode.c
96-
97-
# Disable null-safety checking
98-
clang -fno-strict-nullability mycode.c
99-
```
100-
101-
See the [README](https://github.com/cs01/llvm-project/blob/null-safe-c-dev/README.md) for full documentation.
102-
env:
103-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104-
10567
build-macos:
10668
runs-on: macos-latest
10769

@@ -158,30 +120,6 @@ jobs:
158120
name: clang-nullsafe-macos-universal
159121
path: install/clang-nullsafe-macos-universal.tar.gz
160122

161-
- name: Create Release
162-
uses: softprops/action-gh-release@v1
163-
with:
164-
files: install/clang-nullsafe-macos-universal.tar.gz
165-
body: |
166-
## Null-Safe Clang Binary Release (macOS)
167-
168-
This release contains the Null-Safe Clang compiler and clangd language server for macOS (Intel and Apple Silicon).
169-
170-
### What's included:
171-
- `clang` - The Null-Safe C compiler
172-
- `clangd` - Language server for IDE integration (VSCode, vim, etc.)
173-
174-
### Installation:
175-
```bash
176-
tar -xzf clang-nullsafe-macos-universal.tar.gz
177-
export PATH=$PWD/bin:$PATH
178-
clang --version
179-
```
180-
181-
See the [README](https://github.com/cs01/llvm-project/blob/null-safe-c-dev/README.md) for usage instructions.
182-
env:
183-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
184-
185123
build-windows:
186124
runs-on: windows-latest
187125

@@ -237,27 +175,3 @@ jobs:
237175
with:
238176
name: clang-nullsafe-windows-x86_64
239177
path: install/clang-nullsafe-windows-x86_64.tar.gz
240-
241-
- name: Create Release
242-
uses: softprops/action-gh-release@v1
243-
with:
244-
files: install/clang-nullsafe-windows-x86_64.tar.gz
245-
body: |
246-
## Null-Safe Clang Binary Release (Windows)
247-
248-
This release contains the Null-Safe Clang compiler and clangd language server for Windows x86_64.
249-
250-
### What's included:
251-
- `clang.exe` - The Null-Safe C compiler
252-
- `clangd.exe` - Language server for IDE integration (VSCode, vim, etc.)
253-
254-
### Installation:
255-
```bash
256-
tar -xzf clang-nullsafe-windows-x86_64.tar.gz
257-
# Add bin/ directory to your PATH
258-
clang --version
259-
```
260-
261-
See the [README](https://github.com/cs01/llvm-project/blob/null-safe-c-dev/README.md) for usage instructions.
262-
env:
263-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)