-
Notifications
You must be signed in to change notification settings - Fork 858
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
comment on PR with artifact link (#4896)
- Loading branch information
1 parent
2339621
commit 7e0665a
Showing
1 changed file
with
4 additions
and
10 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 |
---|---|---|
|
@@ -235,17 +235,11 @@ jobs: | |
path: ./*.elf | ||
retention-days: 30 | ||
|
||
- name: Create request artifacts | ||
continue-on-error: true # FIXME: Why are we getting 502, but things still work? | ||
if: ${{ github.event_name == 'pull_request_target' || github.event_name == 'pull_request' }} | ||
uses: gavv/[email protected] | ||
- uses: PicoCentauri/comment-artifact@main | ||
with: | ||
commit: ${{ (github.event.pull_request_target || github.event.pull_request).head.sha }} | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
artifacts-token: ${{ secrets.ARTIFACTS_TOKEN }} | ||
artifacts-repo: meshtastic/artifacts | ||
artifacts-branch: device | ||
artifacts: ./firmware-${{ steps.version.outputs.version }}.zip | ||
name: firmware-${{ steps.version.outputs.version }} | ||
description: "Download firmware-${{ steps.version.outputs.version }}.zip. This artifact will be available for 90 days from creation" | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
release-artifacts: | ||
runs-on: ubuntu-latest | ||
|