Compare commits
25 Commits
2f569e1dea
...
main
Author | SHA1 | Date | |
---|---|---|---|
1f75ee9ffb | |||
b409324a19 | |||
5f7973b986 | |||
25ee31f98d | |||
09b672f6dd | |||
3834810b5a | |||
a65df3922e | |||
01220dc8a5 | |||
2ebe47cbe3 | |||
61e66d370c | |||
3a9d8d2de1 | |||
47fc363ccc | |||
8e7da47925 | |||
1fbd882452 | |||
80a16c73fb | |||
8ef5834e9c | |||
adbbdf6513 | |||
c56fcd2b62 | |||
22ce2066f8 | |||
5999e99dde | |||
576fca21da | |||
24da2dd035 | |||
|
5f1c930a6d | ||
|
55646f28cb | ||
b5ff782c46 |
@@ -1,15 +1,21 @@
|
||||
name: checkout
|
||||
name: release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # Or your desired branch
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
runs-on: fedora-iso-creation:42:docker://git.phyllo.me/roots/fedora-iso-creation:42
|
||||
runs-on: fedora-latest
|
||||
|
||||
steps:
|
||||
- uses: https://git.phyllo.me/actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- uses: https://git.phyllo.me/actions/action-gh-release@v2
|
||||
with:
|
||||
files: |-
|
||||
bin/**
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
||||
|
12
README.md
12
README.md
@@ -22,9 +22,11 @@ curl https://dl.gitea.com/act_runner/0.2.12/act_runner-0.2.12-linux-amd64 --outp
|
||||
|
||||
- Add execute permission
|
||||
|
||||
```
|
||||
chmod +x act_runner
|
||||
```
|
||||
|
||||
|
||||
- Execute the act runner using the `exec` argument and specify the workflow file to be used:
|
||||
- Run the act runner using the `exec` argument and specify the workflow file to be used:
|
||||
|
||||
```
|
||||
./act_runner exec --workflows workflows/checkout.yml
|
||||
@@ -42,6 +44,12 @@ INFO[0000] Start server on http://192.168.122.175:34567
|
||||
[checkout/checkout] Cleaning up network for job checkout, and network name is: GITEA-ACTIONS-TASK-push_WORKFLOW-checkout_JOB-checkout-checkout-network
|
||||
```
|
||||
|
||||
- If you wish to run the action locally with a self-hosted runner that runs directly on the host, use the following instead:
|
||||
|
||||
```
|
||||
./act_runner exec --workflows workflows/checkout.yml -i -self-hosted
|
||||
```
|
||||
|
||||
## How workflows are used in Phyllome OS
|
||||
|
||||
Several known actions repositories are mirrored within Phyllome's Gitea instance, under the [actions](https://git.phyllo.me/actions) organization.
|
||||
|
BIN
act_runner
BIN
act_runner
Binary file not shown.
@@ -1,13 +1,14 @@
|
||||
|
||||
name: checkout
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
branches:
|
||||
- main # Or your desired branch
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
runs-on: fedora-iso-creation:42:docker://git.phyllo.me/roots/fedora-iso-creation:42
|
||||
runs-on: fedora-latest
|
||||
|
||||
steps:
|
||||
- uses: https://git.phyllo.me/actions/checkout@v4
|
||||
|
Reference in New Issue
Block a user