40 Commits
test3 ... test7

Author SHA1 Message Date
b409324a19 Update .gitea/workflows/fedora-checkout.yml
All checks were successful
release / checkout (push) Successful in 4s
2025-08-13 13:09:35 +00:00
5f7973b986 Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Failing after 7s
2025-08-13 13:08:04 +00:00
25ee31f98d Update workflows/fedora-checkout.yml
All checks were successful
checkout / checkout (push) Successful in 4s
update runner name
2025-08-13 13:04:27 +00:00
09b672f6dd Delete act_runner
All checks were successful
checkout / checkout (push) Successful in 4s
remove binary file
2025-08-13 12:35:35 +00:00
3834810b5a Update .gitea/workflows/fedora-checkout.yml
All checks were successful
checkout / checkout (push) Successful in 4s
2025-08-13 10:59:56 +00:00
a65df3922e Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-13 10:59:12 +00:00
01220dc8a5 Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-13 10:35:59 +00:00
2ebe47cbe3 Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-13 10:34:30 +00:00
61e66d370c Update .gitea/workflows/fedora-checkout.yml
All checks were successful
checkout / checkout (push) Successful in 6s
2025-08-13 10:33:40 +00:00
3a9d8d2de1 Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-13 10:08:53 +00:00
47fc363ccc Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-13 09:54:50 +00:00
8e7da47925 Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-12 20:00:30 +00:00
1fbd882452 Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-12 19:47:44 +00:00
80a16c73fb Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-12 19:42:31 +00:00
8ef5834e9c Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-12 19:21:08 +00:00
adbbdf6513 Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-12 19:12:12 +00:00
c56fcd2b62 Delete .gitea/workflows/gitea-actions-demo.yml
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-12 19:05:57 +00:00
22ce2066f8 Update .gitea/workflows/fedora-checkout.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
checkout / checkout (push) Has been cancelled
another try
2025-08-12 18:27:54 +00:00
5999e99dde Update .gitea/workflows/gitea-actions-demo.yml
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
checkout / checkout (push) Has been cancelled
switch to ubuntu-latest
2025-08-12 18:23:22 +00:00
576fca21da Add .gitea/workflows/gitea-actions-demo
Some checks failed
checkout / checkout (push) Has been cancelled
fedora-host runner test
2025-08-12 18:21:59 +00:00
24da2dd035 Update .gitea/workflows/fedora-checkout.yml
Some checks failed
checkout / checkout (push) Has been cancelled
modify label of runner
2025-08-12 18:17:23 +00:00
Lukas Greve
5f1c930a6d Merge branch 'main' of ssh://git.phyllo.me:29418/actions/test-actions
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-12 20:15:49 +02:00
Lukas Greve
55646f28cb new runner 2025-08-12 20:15:09 +02:00
b5ff782c46 Update README.md
Some checks failed
checkout / checkout (push) Has been cancelled
Add more explanation

Signed-off-by: lukas <lukas@phyllo.me>
2025-08-12 10:15:10 +00:00
Lukas Greve
2f569e1dea test new workflow with special container
Some checks failed
checkout / checkout (push) Has been cancelled
2025-08-12 08:38:30 +02:00
Lukas Greve
e89514528a add new working worflow 2025-08-12 08:38:13 +02:00
Lukas Greve
305aff8a6f delete enabled workflow 2025-08-12 08:37:58 +02:00
Lukas Greve
32edce89c7 test new workflow 2025-08-11 14:34:22 +02:00
Lukas Greve
dde38ee64d add some command output 2025-08-11 14:32:03 +02:00
Lukas Greve
46127b8287 make image used explicit 2025-08-11 14:31:41 +02:00
Lukas Greve
436867b27d make image explicit 2025-08-11 14:31:28 +02:00
Lukas Greve
298ed501d8 test new image 2025-08-11 14:31:07 +02:00
Lukas Greve
7f6d7f9100 test docker in docker 2025-08-11 14:30:59 +02:00
Lukas Greve
fd10257f50 improvements and fixes 2025-07-25 22:49:19 +02:00
Lukas Greve
6598f6b95b remove file 2025-07-25 22:49:10 +02:00
Lukas Greve
80580710fc add gitea release action workflow 2025-07-25 22:48:48 +02:00
Lukas Greve
6d0f2da52b add some commands in simple checkout workflow 2025-07-25 22:48:23 +02:00
Lukas Greve
c5dd94c995 add simple checkout workflow 2025-07-25 22:48:00 +02:00
Lukas Greve
1db19d9160 rename file 2025-07-25 22:47:36 +02:00
2ac75ce7a2 Update README.md
Add more information about how to use Gitea Actions locally
2025-07-25 20:33:40 +00:00
8 changed files with 150 additions and 6 deletions

View File

@@ -6,8 +6,9 @@ on:
- '*'
jobs:
release:
runs-on: ubuntu-latest
checkout:
runs-on: fedora-latest
steps:
- uses: https://git.phyllo.me/actions/checkout@v4
with:
@@ -16,4 +17,5 @@ jobs:
with:
files: |-
bin/**
api_key: '${{secrets.RELEASE_TOKEN}}'
api_key: '${{secrets.RELEASE_TOKEN}}'

View File

@@ -1,3 +1,55 @@
# tests-actions
# Gitea Actions testing ground
This repository is meant to test Gitea actions
This repository is a testing ground for several Gitea Actions used within the Phyllome OS project.
Gitea Actions closely resemble GitHub Actions, to the point that several GitHub Actions can be used in Gitea Actions workflows without modification.
## How to test actions locally
- Clone this repository locally
- Download the latest version of the act runner for your architecture [here](https://dl.gitea.com/act_runner/)
- For instance, if your computer is running Linux with an amd64 processor: `act_runner-0.2.12-linux-amd64`
```
curl https://dl.gitea.com/act_runner/0.2.12/act_runner-0.2.12-linux-amd64 --output act_runner
```
```
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 19.2M 100 19.2M 0 0 102M 0 --:--:-- --:--:-- --:--:-- 103M
```
- Add execute permission
```
chmod +x act_runner
```
- Run the act runner using the `exec` argument and specify the workflow file to be used:
```
./act_runner exec --workflows workflows/checkout.yml
```
```
INFO[0000] Using the only detected workflow event: push
INFO[0000] Planning jobs for event: push
INFO[0000] cache handler listens on: http://192.168.122.175:38917
INFO[0000] Start server on http://192.168.122.175:34567
[...]
[checkout/checkout] ⭐ Run Main https://git.phyllo.me/actions/checkout@v4
[checkout/checkout] 🐳 docker cp src=/home/lukas/test-actions/. dst=/home/lukas/test-actions
[checkout/checkout] ✅ Success - Main https://git.phyllo.me/actions/checkout@v4
[checkout/checkout] Cleaning up container for job checkout
[checkout/checkout] Cleaning up network for job checkout, and network name is: GITEA-ACTIONS-TASK-push_WORKFLOW-checkout_JOB-checkout-checkout-network
```
## 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.
# Good resources
- [Official Gitea Action documentation](https://docs.gitea.com/usage/actions/quickstart)
- [Awesome Actions](https://github.com/sdras/awesome-actions#workflow-examples)
- [GitHub Actions Survival Skills](https://thekevinwang.com/2022/06/13/github-actions-survival-skills)

15
workflows/checkout.yml Normal file
View File

@@ -0,0 +1,15 @@
name: checkout
on:
push:
tags:
- '*'
jobs:
checkout:
runs-on: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
steps:
- uses: https://git.phyllo.me/actions/checkout@v4
with:
fetch-depth: 0

View File

@@ -0,0 +1,16 @@
name: checkout
on:
push:
tags:
- '*'
jobs:
checkout:
runs-on: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
container:
image: git.phyllo.me/roots/fedora-iso-creation:42
steps:
- uses: https://git.phyllo.me/actions/checkout@v4
- name: Setup tmate session
- uses: https://github.com/mxschmitt/action-tmate@v3

View File

@@ -0,0 +1,16 @@
name: checkout
on:
push:
branches:
- main # Or your desired branch
jobs:
checkout:
runs-on: fedora-latest
steps:
- uses: https://git.phyllo.me/actions/checkout@v4
with:
fetch-depth: 0

View File

@@ -0,0 +1,23 @@
name: Echo Current Path and List Files
on:
push:
branches:
- main # Or your desired branch
jobs:
echo-path:
runs-on: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest
steps:
- uses: https://git.phyllo.me/actions/checkout@v4
with:
fetch-depth: 0
steps:
- name: Echo Current Path
run: |
pwd
echo "Current working directory:"
- name: List Files
run: |
ls -la
echo "Files in current directory:"

21
workflows/release-tag.yml Normal file
View File

@@ -0,0 +1,21 @@
name: release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-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}}'

View File

@@ -1 +0,0 @@
gtas