Fix action for package registration. #16
Workflow file for this run
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
name: Register Julia Package to Custom Registry | |
on: | |
push: | |
branches: | |
- 85-add-package-release-in-julia | |
jobs: | |
register-package: | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout the code | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
# Install GitHub CLI (if not already available) | |
- name: Install GitHub CLI | |
run: sudo apt-get install gh | |
# Post Registrator Comment | |
- name: Trigger Registrator | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
gh pr comment --repo open-and-sustainable/prismaid \ | |
--body "@JuliaRegistrator register subdir=julia/PRISMAID branch=85-add-package-release-in-julia" | |