Skip to content

Commit

Permalink
Combine workflows to create release are artifacts
Browse files Browse the repository at this point in the history
CMK-14985
  • Loading branch information
SoloJacobs committed Nov 7, 2023
1 parent 6fabf85 commit 6a17c25
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
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

- uses: actions/upload-artifact@v3
with:
path: ${{ github.workspace }}/executables.zip
if-no-files-found: error

0 comments on commit 6a17c25

Please sign in to comment.