Skip to content

Commit

Permalink
wf
Browse files Browse the repository at this point in the history
Update cmake-ninja-crossbuild.yml

Update cmake-ninja-crossbuild.yml
  • Loading branch information
userdocs committed Jan 27, 2025
1 parent 0092271 commit a496678
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
24 changes: 24 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
root = true

[*]
indent_style = tab
tab_width = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
indent_style = space
trim_trailing_whitespace = false

[*.{json,yml,yaml}]
indent_style = space
indent_size = 2

[LICENSE.txt]
indent_style = space
indent_size = 0

[Jamfile]
indent_style = tabs
10 changes: 4 additions & 6 deletions .github/workflows/cmake-ninja-crossbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
skip_rerun:
description: "Skip rerun?"
required: true
default: true
default: false
type: boolean
retries:
description: "Number of rerun retries"
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
env:
opt_dir_name: "opt/local"
cxx_standard: "17"
GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
GH_TOKEN: "${{ github.token }}"

steps:
- name: Host - Checkout action
Expand Down Expand Up @@ -147,10 +147,8 @@ jobs:
runs-on: ubuntu-24.04-arm
permissions:
contents: write
needs: build
if: >
always() && !failure() && !cancelled() &&
contains(needs.*.result, 'success') && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
needs: [build]
if: needs.build.result == 'success'
env:
GH_TOKEN: "${{ github.token }}"
cmake_version: ${{ needs.build.outputs.cmake_version }}
Expand Down

0 comments on commit a496678

Please sign in to comment.