Skip to content

Commit

Permalink
chore: templates generated by RadxaOS-SDK/rsdk@156ded4.dirty
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jul 9, 2024
1 parent a8fa3b3 commit 66d963f
Show file tree
Hide file tree
Showing 4 changed files with 367 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Catch-all code owner
* @RadxaYuntian

# Disown CI yaml so automerge can work
# https://github.com/orgs/community/discussions/23064#discussioncomment-8383923
.github/actions/**/*.yaml
.github/workflows/*.yaml
13 changes: 12 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@ jobs:
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
fetch-tags: true
- name: "Check for existing releases"
run: |
TAG="rsdk-b${{ github.run_number }}"
if git show-ref --tags --verify --quiet "refs/tags/${TAG}"; then
echo "Release ${TAG} exists."
exit 1
fi
- name: "Generate changelog"
uses: "radxa-repo/rbuild-changelog@main"
with:
Expand All @@ -46,8 +56,9 @@ jobs:
body_path: "README.md"
draft: false
files: ".changelog/changelog.md"
name: "b${{ github.run_number }} (rsdk)"
prerelease: true
tag_name: "b${{ github.run_number }}"
tag_name: "rsdk-b${{ github.run_number }}"
target_commitish: "main"
token: "${{ secrets.GITHUB_TOKEN }}"
name: "Build image for release channel"
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
product: "${{ matrix.product }}"
release-id: "${{ needs.prepare_release.outputs.release_id }}"
suite: "${{ matrix.suite }}"
tag_name: "rsdk-t${{ github.run_number }}"
test-repo: true
timestamp: "t${{ github.run_number }}"
strategy:
Expand All @@ -32,6 +33,16 @@ jobs:
steps:
- name: "Checkout"
uses: "actions/checkout@v4"
with:
fetch-depth: 0
fetch-tags: true
- name: "Check for existing releases"
run: |
TAG="rsdk-t${{ github.run_number }}"
if git show-ref --tags --verify --quiet "refs/tags/${TAG}"; then
echo "Release ${TAG} exists."
exit 1
fi
- name: "Generate changelog"
uses: "radxa-repo/rbuild-changelog@main"
with:
Expand All @@ -50,8 +61,9 @@ jobs:
Only use when specifically instructed by Radxa support.
draft: false
files: ".changelog/changelog.md"
name: "t${{ github.run_number }} (rsdk)"
prerelease: true
tag_name: "t${{ github.run_number }}"
tag_name: "rsdk-t${{ github.run_number }}"
target_commitish: "main"
token: "${{ secrets.GITHUB_TOKEN }}"
name: "Build image for test channel"
Expand Down
Loading

0 comments on commit 66d963f

Please sign in to comment.