mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
collapse artifact job into package
This commit is contained in:
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@@ -300,21 +300,12 @@ jobs:
|
||||
with:
|
||||
name: packages
|
||||
path: build/Release/*nupkg
|
||||
|
||||
organise-artifacts:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [package, test-dotnet]
|
||||
steps:
|
||||
- name: Download
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: bin-core
|
||||
pattern: rust-*
|
||||
merge-multiple: true
|
||||
- name: Rearrange
|
||||
- name: Rearrange Artifacts
|
||||
run: |
|
||||
mkdir bin-core
|
||||
mkdir bin-nodejs
|
||||
mv bin-core/*.node bin-nodejs/
|
||||
mv bin-target/release/*.node bin-nodejs/
|
||||
mv bin-target/release/* bin-core/
|
||||
- name: Upload Core
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -325,13 +316,10 @@ jobs:
|
||||
with:
|
||||
name: bin-nodejs
|
||||
path: bin-nodejs/*
|
||||
- uses: geekyeggo/delete-artifact@v5
|
||||
with:
|
||||
name: rust-*
|
||||
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [package, test-dotnet, test-rust, organise-artifacts]
|
||||
needs: [package, test-dotnet, test-rust]
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
||||
steps:
|
||||
- name: Invoke Release Workflow
|
||||
|
||||
Reference in New Issue
Block a user