Skip to content

task/6422-add-composite-actions-to-main-repository-workflows #563

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
32 changes: 23 additions & 9 deletions .github/workflows/build-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,26 @@ jobs:
needs:
- test
- regression-test
uses: "platomo/GitHub-workflows/.github/workflows/reusable-create-release-with-assets.yml@main"
secrets:
PLATOMO_BUILDER_ACCESS: ${{ secrets.PLATOMO_BUILDER_ACCESS }}
with:
package-version: nightly
package-path: OTAnalytics
draft-release: false
pre-release: true
delete-existing: true
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Update Version
uses: platomo/update-version-py-action@main
with:
version: nightly
file-path: OTAnalytics
- name: Create Release
uses: platomo/build-release-asset-action@main
with:
platomo-token: ${{ secrets.PLATOMO_BUILDER_ACCESS }}
package-version: nightly
save-artifacts: true
- name: Publish Release
uses: platomo/publish-release-action@main
with:
package-version: nightly
delete-existing: true
pre-release: true
py-version: "3.11"
draft-release: false
32 changes: 23 additions & 9 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,26 @@ jobs:
needs:
- test
- regression-test
uses: "platomo/GitHub-workflows/.github/workflows/reusable-create-release-with-assets.yml@main"
secrets:
PLATOMO_BUILDER_ACCESS: ${{ secrets.PLATOMO_BUILDER_ACCESS }}
with:
package-version: ${{ github.ref_name }}
package-path: OTAnalytics
draft-release: false
pre-release: false
delete-existing: false
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Update Version
uses: platomo/update-version-py-action@main
with:
version: ${{ github.ref_name }}
file-path: OTAnalytics
- name: Create Release
uses: platomo/build-release-asset-action@main
with:
platomo-token: ${{ secrets.PLATOMO_BUILDER_ACCESS }}
package-version: ${{ github.ref_name }}
save-artifacts: true
- name: Publish Release
uses: platomo/publish-release-action@main
with:
package-version: ${{ github.ref_name }}
delete-existing: false
pre-release: false
py-version: "3.11"
draft-release: false