Skip to content

Commit

Permalink
simplify release
Browse files Browse the repository at this point in the history
workflow

test release
  • Loading branch information
SoloJacobs committed Mar 8, 2024
1 parent f8ab678 commit a19e643
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ jobs:
path: build
key: rcc-${{ env.RCC_TAG }}-${{ env.GO_VERSION }}-${{ env.RUBY_VERSION }}
fail-on-cache-miss: true
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: build
name: rcc
path: build/
if-no-files-found: error
6 changes: 4 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
# release. For setting a different ref, all `needs` jobs need to be
# adjusted. Currently, everything uses the default branch.

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: executables/

- run: zip -r executables.zip artifact
- run: zip -r executables.zip executables

- name: "Push release tag"
# This is publicly visible and needs to be manually fixed if any
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/robotmk_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:

- run: cargo build --target=x86_64-pc-windows-gnu --release

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: |
${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_scheduler.exe
${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/robotmk_agent_plugin.exe
name: rmk_windows64
path: ${{ github.workspace }}/target/x86_64-pc-windows-gnu/release/
if-no-files-found: error

5 changes: 3 additions & 2 deletions .github/workflows/system_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
needs:
- rcc
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
path: C:\
- uses: actions/checkout@v4
Expand All @@ -25,6 +25,7 @@ jobs:
TEST_DIR: C:\test_scheduler
RCC_BINARY_PATH: C:\artifact\windows64\rcc.exe
RUN_FOR: 240
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: C:\test_scheduler
overwrite: true

0 comments on commit a19e643

Please sign in to comment.