GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — architon-cli/dist/github/architon.yaml at main · badimirzai/architon-cli

Expand file tree

/

architon.yaml

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
84 lines (76 loc) · 2.57 KB
/

architon.yaml

Copy path

File metadata and controls

84 lines (76 loc) · 2.57 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Copy this file to .github/workflows/architon.yaml in a hardware repository.
# Update the pinned image tag when a release is cut.
name: Architon
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
jobs:
architon:
runs-on: ubuntu-latest
permissions:
contents: read
outputs:
exit_code: ${{ steps.export.outputs.exit_code }}
steps:
- name: Checkout
uses: actions/checkout@v4
# Record the rv export code, then let the upload run.
# The following step exits with that code, so exit 2 fails the check.
- name: Export Architon Studio files
id: export
shell: bash
run: |
set +e
docker run --rm --pull always --network none \
--user "$(id -u):$(id -g)" \
-e RV_SOURCE_REVISION="${GITHUB_SHA}" \
-v "$GITHUB_WORKSPACE":/project \
ghcr.io/badimirzai/architon:v0.17.0 \
rv export .
exit_code=$?
echo "exit_code=${exit_code}" >> "$GITHUB_OUTPUT"
echo "rv export exited ${exit_code}"
exit 0
- name: Upload Architon Studio files
if: always()
uses: actions/upload-artifact@v4
with:
name: architon-studio
path: |
.architon/studio/report.json
.architon/studio/graph.json
if-no-files-found: ignore
- name: Exit with export code
if: always()
shell: bash
run: exit "${{ steps.export.outputs.exit_code }}"
comment:
needs: architon
if: ${{ !cancelled() && github.event_name == 'pull_request' }}
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- name: Comment Studio link
uses: actions/github-script@v7
env:
EXPORT_EXIT_CODE: ${{ needs.architon.outputs.exit_code }}
with:
script: |
const owner = process.env.GITHUB_REPOSITORY_OWNER || "";
const repository = process.env.GITHUB_REPOSITORY || "";
const slash = repository.indexOf("/");
const repo = slash >= 0 ? repository.slice(slash + 1) : "";
const sha = process.env.GITHUB_SHA || "";
const exitCode = process.env.EXPORT_EXIT_CODE || "";
const url = `https://studio.architon.io/?github=${owner}/${repo}&ref=${sha}`;
await github.rest.issues.createComment({
owner,
repo,
issue_number: context.issue.number,
body: `Architon export exit code: ${exitCode}\n\n${url}\n`
});
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.