Skip to content

Commit

Permalink
Remove the names from the workflow
Browse files Browse the repository at this point in the history
These names always contain less information than the original call.
This change makes debugging workflows easier.
  • Loading branch information
SoloJacobs committed Nov 8, 2023
1 parent 9d7fa3a commit 2c47340
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 39 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ jobs:
- { os: windows-latest, target: x86_64-pc-windows-gnu }
- { os: ubuntu-latest, target: x86_64-unknown-linux-gnu }
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: "Setup Rust"
uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
- uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
with:
components: rustfmt, clippy
target: ${{ matrix.type.target }}
Expand Down
48 changes: 21 additions & 27 deletions .github/workflows/rcc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: "Checkout repository"
uses: actions/checkout@v4
with:
repository: robocorp/rcc
ref: v14.15.4

- name: "Setup Go"
uses: actions/setup-go@v3
with:
go-version: '1.20.x'

- name: "Setup Rake"
uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'

- name: "Build RCC"
run: rake build

- name: "Test RCC"
run: rake test

- name: "Upload RCC binaries"
uses: actions/upload-artifact@v3
with:
path: build
if-no-files-found: error
- uses: actions/checkout@v4
with:
repository: robocorp/rcc
ref: v14.15.4

- uses: actions/setup-go@v3
with:
go-version: '1.20.x'

- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.7'

- run: rake build

- run: rake test

- uses: actions/upload-artifact@v3
with:
path: build
if-no-files-found: error
12 changes: 4 additions & 8 deletions .github/workflows/robotmk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,16 @@ jobs:
runs-on: windows-latest

steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: "Setup Rust"
uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
- uses: actions-rust-lang/setup-rust-toolchain@v1.5.0
with:
target: x86_64-pc-windows-gnu

- name: "Build Robotmk Windows"
- run: cargo build --target=x86_64-pc-windows-gnu --release
working-directory: ${{ github.workspace }}/v2/robotmk/
run: cargo build --target=x86_64-pc-windows-gnu --release

- name: "Upload Artifact"
uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v3
with:
path: |
${{ github.workspace }}/v2/robotmk/target/x86_64-pc-windows-gnu/release/robotmk.exe
Expand Down

0 comments on commit 2c47340

Please sign in to comment.