diff --git a/.gitea/workflows/fedora-checkout.yml b/.gitea/workflows/fedora-checkout.yml index 46518b6..9247557 100644 --- a/.gitea/workflows/fedora-checkout.yml +++ b/.gitea/workflows/fedora-checkout.yml @@ -1,9 +1,9 @@ name: checkout -on: +on: push: - tags: - - '*' + branches: + - main # Or your desired branch jobs: checkout: diff --git a/README.md b/README.md index 46df2f5..1a9b114 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,20 @@ Gitea Actions closely resemble GitHub Actions, to the point that several GitHub - 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 + + - Execute the act runner using the `exec` argument and specify the workflow file to be used: diff --git a/act_runner b/act_runner new file mode 100755 index 0000000..76ebe1d Binary files /dev/null and b/act_runner differ