diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 00000000..a21059f5 --- /dev/null +++ b/.github/workflows/release.yaml @@ -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