Skip to content

Commit ea2f669

Browse files
committed
use comment artifact
1 parent 5774ba4 commit ea2f669

File tree

3 files changed

+16
-100
lines changed

3 files changed

+16
-100
lines changed

.github/workflows/build-wheels.yml

+9
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ concurrency:
2121
group: wheels-${{ github.ref }}
2222
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
2323

24+
permissions:
25+
pull-requests: write
26+
2427
env:
2528
FEATOMIC_NO_LOCAL_DEPS: "1"
2629

@@ -359,6 +362,12 @@ jobs:
359362
wheels/*
360363
wheels/cxx/*
361364
365+
- name: Comment with download link
366+
uses: PicoCentauri/comment-artifact@v1
367+
with:
368+
name: wheels
369+
description: ⚙️ Download wheels for this pull-request
370+
362371
- name: upload to GitHub release (featomic)
363372
if: startsWith(github.ref, 'refs/tags/featomic-v')
364373
uses: softprops/action-gh-release@v2

.github/workflows/comment-download.yml

-100
This file was deleted.

.github/workflows/docs.yml

+7
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
runs-on: ubuntu-22.04
1717
permissions:
1818
contents: write
19+
pull-requests: write
1920
steps:
2021
- name: free disk space
2122
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android || true
@@ -50,6 +51,12 @@ jobs:
5051
path: docs/build/html/*
5152
overwrite: true # only keep the latest version of the documentation
5253

54+
- name: Comment with download link
55+
uses: PicoCentauri/comment-artifact@v1
56+
with:
57+
name: docs
58+
description: 📚 Download documentation for this pull-request
59+
5360
- name: put documentation in the website
5461
run: |
5562
git clone https://github.com/$GITHUB_REPOSITORY --branch gh-pages gh-pages

0 commit comments

Comments
 (0)