-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DP-1709 - Publish package to all ppas #343
base: v2.1
Are you sure you want to change the base?
Conversation
env: | ||
GITHUB_TOKEN: ${{ secrets.gh_token }} | ||
|
||
- uses: DenverCoder1/doxygen-github-pages-action@v1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with: | ||
python-version: '3.10' | ||
- uses: pre-commit/action@v2.0.3 | ||
|
||
Pack: | ||
runs-on: ubuntu-20.04 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why Pack does not depend on Pre-commit ?
runs-on: ubuntu-20.04 | |
runs-on: ubuntu-20.04 | |
needs: [Pre-commit] |
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
nexus_ppa: ["ppa-testing", "ppa-testing-focal", "ppa-testing-jammy", "ppa-testing-noble"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better not to hardcode the repositories. other workflows use inputs:
testing_publish_repos:
required: false
type: string
default: ["ppa-testing", "ppa-testing-focal", "ppa-testing-jammy", "ppa-testing-noble"]
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
nexus_ppa: [ "ppa-main", "ppa-stable-focal", "ppa-stable-jammy", "ppa-stable-noble"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here: better not to hardcode the repositories. other workflows use inputs:
prod_publish_repos:
required: false
type: string
default: [ "ppa-main", "ppa-stable-focal", "ppa-stable-jammy", "ppa-stable-noble"]
@@ -14,6 +14,14 @@ on: | |||
required: false | |||
type: string | |||
default: "v2.0.10" | |||
ref_name: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this ref_name input ? please document
if: ${{ inputs.release == 'false' && inputs.deploy == 'true' }} | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avoid naming objects by their undelaying solution, prefer: artifact_repo_ppas
instead of nexus_ppa
git config --global --add safe.directory $(pwd) | ||
mkdir artifacts | ||
cd artifacts | ||
gh release download ${{ inputs.ref_name }} -p *.deb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gh release download ${{ inputs.ref_name }} -p *.deb | |
gh release download ${{ inputs.ref_name }} -p *.deb -d artifacts |
no need to cd ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please address the comments
Tested in: