Update CI workflow for main branch and release events
This commit is contained in:
parent
9bc1f86e25
commit
45b7879186
1 changed files with 6 additions and 1 deletions
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
|
@ -75,6 +75,11 @@ jobs:
|
|||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: ncc-build
|
||||
path: ncc-build
|
||||
|
||||
- name: List files
|
||||
run: |
|
||||
ls -R
|
||||
|
||||
- name: Get the release upload URL
|
||||
id: get_release
|
||||
|
@ -87,7 +92,7 @@ jobs:
|
|||
|
||||
- name: Upload release artifact to GitHub
|
||||
run: |
|
||||
BUILD_FILE="ncc-build/net.nosial.configlib.ncc"
|
||||
BUILD_FILE="ncc-build/ncc-build/net.nosial.configlib.ncc" # Update path based on actual structure
|
||||
if [ -f "$BUILD_FILE" ]; then
|
||||
echo "Uploading build artifact to GitHub release"
|
||||
curl \
|
||||
|
|
Loading…
Add table
Reference in a new issue