mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-25 04:35:38 +00:00
Repo shaping
This commit is contained in:
parent
0a0dc5bbab
commit
ca67b6d2e8
6
.github/workflows/build_artifacts.yml
vendored
6
.github/workflows/build_artifacts.yml
vendored
|
@ -9,9 +9,7 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
RUNNER_TAG: ${{ env.RUNNER_TAG || 'ubuntu-latest' }}
|
||||
DATE: ${{ github.run_id }}
|
||||
MANIFEST_FILENAME: ${{ env.MANIFEST_FILENAME || '' }}
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -27,7 +25,7 @@ jobs:
|
|||
|
||||
Building-project:
|
||||
needs: Check-variables
|
||||
runs-on: ${{ env.RUNNER_TAG }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repo
|
||||
|
@ -37,7 +35,7 @@ jobs:
|
|||
token: ${{ secrets.TRIGGER_BUILD_TOKEN }}
|
||||
|
||||
- name: "Install dependencies"
|
||||
uses: RetroDECK/components-template/.github/workflows/install_dependencies.yml@main
|
||||
uses: .github/workflows/build_artifacts.yml
|
||||
|
||||
- name: "Assembling manifest"
|
||||
if: ${{ env.DYNAMIC_MANIFEST == 'true' }}
|
||||
|
|
2
.github/workflows/pr_from_upstream.yml
vendored
2
.github/workflows/pr_from_upstream.yml
vendored
|
@ -50,7 +50,7 @@ jobs:
|
|||
echo "No changes to push."
|
||||
fi
|
||||
|
||||
- name: Create Pull Request
|
||||
- name: Create Pull Request
|
||||
if: success() && steps.push.outputs.BRANCH_NAME != '' # Only run if there are changes
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
|
|
|
@ -3,18 +3,19 @@ name: "Build Artifacts for RetroDECK main manifest"
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
- master
|
||||
- main
|
||||
workflow_call:
|
||||
|
||||
env:
|
||||
MANIFEST_FILENAME: "name.manifest.manifest.yaml"
|
||||
|
||||
jobs:
|
||||
Building-project:
|
||||
runs-on: ubuntu-latest
|
||||
install-dependencies:
|
||||
uses: RetroDECK/components-template/.github/workflows/install_dependencies.yml@main
|
||||
|
||||
steps:
|
||||
|
||||
- name: "Install dependencies"
|
||||
uses: RetroDECK/components-template/.github/workflows/install_dependencies.yml@main
|
||||
|
||||
- name: "Build project"
|
||||
uses: RetroDECK/components-template/.github/workflows/build_artifacts.yml@main
|
||||
build-project:
|
||||
needs: install-dependencies # Ensures this job only runs after install-dependencies
|
||||
uses: RetroDECK/components-template/.github/workflows/build_artifacts.yml@main
|
||||
with:
|
||||
MANIFEST_FILENAME: ${{ env.MANIFEST_FILENAME }}
|
Loading…
Reference in a new issue