CI: create build/ before compiling the server; drop artifact upload
upload-artifact@v4 is unsupported on Gitea (GHES error) and failed the release job after a successful build; the release asset is the artifact. dart compile exe doesn't create the output directory. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8c71ee21c1
commit
8845007cbf
2 files changed
+1
-7
No files matched your search
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- run: dart test
|
- run: dart test
|
||||||
working-directory: packages/server
|
working-directory: packages/server
|
||||||
# Compiling the dedicated server proves it stays Flutter-free.
|
# Compiling the dedicated server proves it stays Flutter-free.
|
||||||
- run: dart compile exe bin/server.dart -o build/watch-together-server
|
- run: mkdir -p build && dart compile exe bin/server.dart -o build/watch-together-server
|
||||||
working-directory: packages/server
|
working-directory: packages/server
|
||||||
- run: build/watch-together-server --help
|
- run: build/watch-together-server --help
|
||||||
working-directory: packages/server
|
working-directory: packages/server
|
||||||
@@ -30,12 +30,6 @@ jobs:
|
|||||||
- name: Build tarball
|
- name: Build tarball
|
||||||
run: tool/package_linux.sh
|
run: tool/package_linux.sh
|
||||||
|
|
||||||
- name: Upload tarball artifact
|
|
||||||
uses: actions/upload-artifact@v4
|
|
||||||
with:
|
|
||||||
name: linux-tarball
|
|
||||||
path: dist/*.tar.gz
|
|
||||||
|
|
||||||
- name: Publish release
|
- name: Publish release
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in new issue
Block a user