Skip to content

Commit

Permalink
Combine workflows to create release are artifacts
Browse files Browse the repository at this point in the history
Currently, this creates a single file `executable.zip`. This can
be later be used to create a release.

CMK-14985
  • Loading branch information
SoloJacobs committed Nov 8, 2023
1 parent 910ba8e commit 95b272b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
name: "Upload all artifacts"
on:
push:
paths:
- .github/workflows/release.yaml
- .github/workflows/rcc.yaml
- .github/workflows/robotmk.yaml
pull_request:
paths:
- .github/workflows/release.yaml
- .github/workflows/rcc.yaml
- .github/workflows/robotmk.yaml

jobs:
build_rcc:
uses: ./.github/workflows/rcc.yaml
build_robotmk:
uses: ./.github/workflows/robotmk.yaml
release:
runs-on: ubuntu-latest
needs: [build_rcc, build_robotmk]
steps:
- uses: actions/download-artifact@v3

- run: zip -r executables.zip artifact

0 comments on commit 95b272b

Please sign in to comment.