Compare commits

6 Commits

Author SHA1 Message Date
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
6 changed files with 60 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
This repository is a testing ground for several Gitea Actions used within the Phyllome OS project.
Gitea Actions workflows closely resemble GitHub Actions workflows, to the point that several GitHub Actions can be used in Gitea Actions workflows without modification.
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
@@ -11,14 +11,14 @@ Download the latest version of the act runner for your architecture [here](https
Execute the act runner using the `exec` argument and specify the workflow file:
```
./act_runner exec --workflows my-workflow-in-root-directory.yml
./act_runner exec --workflows checkout.yml
```
## How they 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 sources
# Good resources
- [Official Gitea Action documentation](https://docs.gitea.com/usage/actions/quickstart)
- [Awesome Actions](https://github.com/sdras/awesome-actions#workflow-examples)

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,23 @@
name: Echo Current Path and List Files
on:
push:
branches:
- main # Or your desired branch
jobs:
echo-path:
runs-on: 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:"

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

@@ -0,0 +1,19 @@
name: release
on:
push:
tags:
- '*'
jobs:
release:
runs-on: 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