From a35ba8dc5a06079d57439684e8eb2e38233e4efd Mon Sep 17 00:00:00 2001 From: Solomon Jacobs Date: Fri, 8 Mar 2024 08:24:14 +0100 Subject: [PATCH] test release --- .github/workflows/rcc.yaml | 4 ++-- .github/workflows/release.yaml | 10 +++------- .github/workflows/robotmk_build.yaml | 17 ++++++----------- 3 files changed, 11 insertions(+), 20 deletions(-) diff --git a/.github/workflows/rcc.yaml b/.github/workflows/rcc.yaml index b7ab2eba..c1b9b4fe 100644 --- a/.github/workflows/rcc.yaml +++ b/.github/workflows/rcc.yaml @@ -62,6 +62,6 @@ jobs: fail-on-cache-miss: true - uses: actions/upload-artifact@v4 with: - path: build + name: rcc + path: build/ if-no-files-found: error - overwrite: true diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5f5e96bc..da08def3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,13 +3,6 @@ name: "Release" # Careful! This pushes a git tag to GitHub! The release itself is private. on: workflow_dispatch: - inputs: - tag: - description: > - Tag, which is set by the this GitHub workflow. - Should follow SemVer and is not allowed to exist already. - required: true - type: string jobs: build_rcc: @@ -25,5 +18,8 @@ jobs: # adjusted. Currently, everything uses the default branch. - uses: actions/download-artifact@v4 + with: + path: executables/ + - run: find . - run: zip -r executables.zip artifact diff --git a/.github/workflows/robotmk_build.yaml b/.github/workflows/robotmk_build.yaml index 1c0b91ca..f36b71f6 100644 --- a/.github/workflows/robotmk_build.yaml +++ b/.github/workflows/robotmk_build.yaml @@ -6,23 +6,18 @@ on: jobs: build_robotmk_from_source: - runs-on: windows-latest + runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions-rust-lang/setup-rust-toolchain@v1.5.0 - with: - target: x86_64-pc-windows-gnu - - - run: cargo build --target=x86_64-pc-windows-gnu --release + - run: mkdir -p ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/ + - run: touch ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_scheduler.exe + - run: touch ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_agent_plugin.exe - uses: actions/upload-artifact@v4 with: - path: ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_scheduler.exe + name: rmk + path: ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/ if-no-files-found: error - - uses: actions/upload-artifact@v4 - with: - path: ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_agent_plugin.exe - if-no-files-found: error