Skip to content

Commit

Permalink
moves upload into build job
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNotary committed Sep 5, 2024
1 parent 474821a commit 5435437
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/hosted-ninja-vcpkg_submod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ jobs:
configurePreset: 'release-config'
buildPreset: 'release-build'
testPreset: 'test-release'
- name: Upload artifact
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
builds/release-config/Release/*.exe
builds/release-config/Release/*.dll
publish-build:
name: "Publish Build"
Expand All @@ -66,14 +74,6 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')

steps:
- name: Upload artifact
# if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: |
builds/release-config/Release/*.exe
builds/release-config/Release/*.dll

- name: Download artifact from build
uses: actions/download-artifact@v4
Expand Down

0 comments on commit 5435437

Please sign in to comment.