Compare commits
3 Commits
32edce89c7
...
2f569e1dea
Author | SHA1 | Date | |
---|---|---|---|
|
2f569e1dea | ||
|
e89514528a | ||
|
305aff8a6f |
@@ -2,8 +2,8 @@ name: checkout
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
branches:
|
||||
- main # Or your desired branch
|
||||
|
||||
jobs:
|
||||
checkout:
|
||||
|
@@ -1,19 +0,0 @@
|
||||
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}}'
|
14
README.md
14
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:
|
||||
|
||||
|
BIN
act_runner
Executable file
BIN
act_runner
Executable file
Binary file not shown.
@@ -17,3 +17,5 @@ jobs:
|
||||
files: |-
|
||||
bin/**
|
||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user