Skip to content

Commit

Permalink
use comment artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCentauri committed Jan 4, 2025
1 parent 5774ba4 commit b2e9bfc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 100 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ jobs:
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: write
steps:
- name: Download featomic wheels
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -359,6 +360,12 @@ jobs:
wheels/*
wheels/cxx/*
- name: Comment with download link
uses: PicoCentauri/comment-artifact@v1
with:
name: wheels
description: ⚙️ Download wheels for this pull-request

- name: upload to GitHub release (featomic)
if: startsWith(github.ref, 'refs/tags/featomic-v')
uses: softprops/action-gh-release@v2
Expand Down
100 changes: 0 additions & 100 deletions .github/workflows/comment-download.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
runs-on: ubuntu-22.04
permissions:
contents: write
pull-requests: write
steps:
- name: free disk space
run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android || true
Expand Down Expand Up @@ -50,6 +51,12 @@ jobs:
path: docs/build/html/*
overwrite: true # only keep the latest version of the documentation

- name: Comment with download link
uses: PicoCentauri/comment-artifact@v1
with:
name: docs
description: 📚 Download documentation for this pull-request

- name: put documentation in the website
run: |
git clone https://github.com/$GITHUB_REPOSITORY --branch gh-pages gh-pages
Expand Down

0 comments on commit b2e9bfc

Please sign in to comment.