mirror of
https://github.com/Ichitux/lambada-fiesta-live.git
synced 2026-07-15 14:06:28 +00:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c30c2640ec | |||
| a036e78897 | |||
| 632d2c6086 | |||
| b6dd07459e | |||
| 42c64e9f97 |
@@ -37,25 +37,3 @@ jobs:
|
|||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- run: npm test
|
- run: npm test
|
||||||
- name: Output Build Status
|
|
||||||
uses: actions/github-script@v6
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
script: |
|
|
||||||
const { context } = require('@actions/github');
|
|
||||||
const core = require('@actions/core');
|
|
||||||
const fs = require('fs');
|
|
||||||
const path = require('path');
|
|
||||||
const readline = require('readline');
|
|
||||||
|
|
||||||
const outputPath = path.join(process.env.GITHUB_WORKSPACE, 'README.md');
|
|
||||||
const fileStream = fs.createWriteStream(outputPath, { flags: 'a' });
|
|
||||||
const rl = readline.createInterface({ input: process.stdin, output: fileStream });
|
|
||||||
|
|
||||||
if (context.isFailureGroup) {
|
|
||||||
core.setFailed('Build failed');
|
|
||||||
} else {
|
|
||||||
rl.write('## Build Status\n');
|
|
||||||
rl.write('\n');
|
|
||||||
rl.close();
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
|
|
||||||

|
<!-- README.md -->
|
||||||
|
+ [](https://github.com/Ichitux/lambada-fiesta-live/actions)
|
||||||
|
|
||||||
|
|
||||||
# Project Name
|
# Project Name
|
||||||
|
|||||||
Reference in New Issue
Block a user