test with action
This commit is contained in:
parent
de570fa8ca
commit
439ce6d466
2 changed files with 7 additions and 5 deletions
|
|
@ -45,7 +45,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload flake.lock
|
- name: Upload flake.lock
|
||||||
if: steps.changes.outputs.changed == 'true'
|
if: steps.changes.outputs.changed == 'true'
|
||||||
uses: actions/upload-artifact@v4
|
uses: forgejo/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: flake-lock
|
name: flake-lock
|
||||||
path: flake.lock
|
path: flake.lock
|
||||||
|
|
@ -64,7 +64,7 @@ jobs:
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Download updated flake.lock
|
- name: Download updated flake.lock
|
||||||
uses: actions/download-artifact@v4
|
uses: forgejo/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: flake-lock
|
name: flake-lock
|
||||||
|
|
||||||
|
|
@ -77,7 +77,7 @@ jobs:
|
||||||
|
|
||||||
- name: Upload build log on failure
|
- name: Upload build log on failure
|
||||||
if: failure() || steps.build.outcome == 'failure'
|
if: failure() || steps.build.outcome == 'failure'
|
||||||
uses: actions/upload-artifact@v4
|
uses: forgejo/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-failure-${{ matrix.host }}
|
name: build-failure-${{ matrix.host }}
|
||||||
path: build-output.txt
|
path: build-output.txt
|
||||||
|
|
@ -106,13 +106,13 @@ jobs:
|
||||||
git config user.email "bot@noreply.local"
|
git config user.email "bot@noreply.local"
|
||||||
|
|
||||||
- name: Download updated flake.lock
|
- name: Download updated flake.lock
|
||||||
uses: actions/download-artifact@v4
|
uses: forgejo/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: flake-lock
|
name: flake-lock
|
||||||
|
|
||||||
- name: Download failure artifacts
|
- name: Download failure artifacts
|
||||||
if: needs.build.result == 'failure'
|
if: needs.build.result == 'failure'
|
||||||
uses: actions/download-artifact@v4
|
uses: forgejo/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
pattern: build-failure-*
|
pattern: build-failure-*
|
||||||
path: failures
|
path: failures
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,8 @@ in
|
||||||
};
|
};
|
||||||
actions = {
|
actions = {
|
||||||
ENABLED = true;
|
ENABLED = true;
|
||||||
|
DEFAULT_ACTIONS_URL = "https://code.forgejo.org";
|
||||||
|
ARTIFACT_RETENTION_DAYS = 90;
|
||||||
};
|
};
|
||||||
} cfg.settings;
|
} cfg.settings;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue