Compare commits
6 Commits
2ac75ce7a2
...
fd10257f50
Author | SHA1 | Date | |
---|---|---|---|
|
fd10257f50 | ||
|
6598f6b95b | ||
|
80580710fc | ||
|
6d0f2da52b | ||
|
c5dd94c995 | ||
|
1db19d9160 |
@@ -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
15
workflows/checkout.yml
Normal 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
|
23
workflows/list-files-and-path.yml
Normal file
23
workflows/list-files-and-path.yml
Normal 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
19
workflows/release-tag.yml
Normal 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}}'
|
Reference in New Issue
Block a user