Skip to content

Commit

Permalink
Correct contents of artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
JMicheli committed Jul 19, 2024
1 parent 5574d76 commit 66d8ef1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/actions/build-server/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ runs:
- name: Setup rust
uses: ./.github/actions/setup-rust

- name: Copy bundled web app
uses: actions/download-artifact@v4
with:
name: webapp
path: ./apps/server/dist

# This action can be called to build in a Linux or Windows runner
# This step only runs when using Linux
- name: Compile server (Linux)
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/release_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,20 @@ jobs:
- name: Build stump server
uses: ./.github/actions/build-server

- name: Copy bundled web app
uses: actions/download-artifact@v4
with:
name: webapp
path: ./staging/client

- name: Prepare artifact
run: mv target/release/${{ matrix.artifact_filename }} ./staging/${{ matrix.artifact_filename }}

- name: Upload server artifact
uses: ./.github/actions/upload-artifact
with:
upload-name: ${{ matrix.artifact_name }}
upload-path: target/release/${{ matrix.artifact_filename }}
upload-path: staging
# This job creates the release and organizes associated files
create-release:
needs: build-binary
Expand Down

0 comments on commit 66d8ef1

Please sign in to comment.