-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use arch in uploaded artifact, upload only necessary (#19)
* ci: use arch in uploaded artifact, upload only necessary * ci: add linux-arm * ci: add text for typo, link checker * Revert "ci: add linux-arm" This reverts commit d824bcc. --------- Co-authored-by: Jeromos Kovács <[email protected]>
- Loading branch information
1 parent
e6629cb
commit f07e7ba
Showing
2 changed files
with
41 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,6 @@ jobs: | |
- uses: actions/checkout@v4 | ||
- uses: swatinem/rust-cache@v2 | ||
|
||
- name: Check typos | ||
if: matrix.os == 'ubuntu-latest' | ||
uses: crate-ci/[email protected] | ||
|
||
- name: Build in release mode | ||
run: cargo build --release --verbose | ||
|
||
|
@@ -39,5 +35,7 @@ jobs: | |
- name: Upload executable | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: fit2gpx_${{ matrix.os }} | ||
path: target/release/fit2gpx* | ||
name: fit2gpx_${{ runner.os }}_${{ runner.arch }} | ||
path: | | ||
target/release/fit2gpx | ||
target/release/fit2gpx.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: text | ||
|
||
# on: | ||
# repository_dispatch: | ||
# workflow_dispatch: | ||
# schedule: | ||
# - cron: "00 18 * * *" | ||
on: | ||
push: | ||
branches: ["main"] | ||
pull_request: | ||
branches: ["main"] | ||
|
||
jobs: | ||
textCheck: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write # required for peter-evans/create-issue-from-file | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Typo Checker | ||
uses: crate-ci/[email protected] | ||
|
||
- name: Link Checker | ||
id: lychee | ||
uses: lycheeverse/lychee-action@v2 | ||
with: | ||
fail: false | ||
|
||
- name: Create Issue From File | ||
if: steps.lychee.outputs.exit_code != 0 | ||
uses: peter-evans/create-issue-from-file@v5 | ||
with: | ||
title: Link Checker Report | ||
content-filepath: ./lychee/out.md | ||
labels: report, automated issue |