29 Commits
v0.2 ... v0.5

Author SHA1 Message Date
0d14f451f3 更新 '.gitea/workflows/build.yaml'
Some checks failed
Gitea-Actions
2023-03-24 11:15:58 +08:00
6dd54fafd6 更新 '.gitea/workflows/build.yaml' 2023-03-23 17:25:15 +08:00
b4cb324e8e 更新 '.gitea/workflows/build.yaml'
Some checks are pending
Gitea-Actions
2023-03-23 16:17:13 +08:00
64e90984a1 更新 '.gitea/workflows/build.yaml'
Some checks are pending
Gitea-Actions
2023-03-23 16:13:27 +08:00
510e80bc53 更新 '.gitea/workflows/build.yaml'
All checks were successful
Gitea-Actions
2023-03-23 11:25:44 +08:00
7cc00e7454 更新 '.gitea/workflows/build.yaml'
Some checks failed
Gitea-Actions
2023-03-23 11:25:15 +08:00
5186557e59 更新 '.gitea/workflows/build.yaml'
Some checks are pending
Gitea-Actions
2023-03-23 11:24:48 +08:00
0b6fd361ba 更新 '.gitea/workflows/build.yaml'
Some checks are pending
Gitea-Actions
2023-03-22 11:37:43 +08:00
92f10fe929 更新 '.gitea/workflows/build.yaml'
Some checks failed
Gitea-Actions
2023-03-22 11:37:11 +08:00
dc89082921 更新 '.gitea/workflows/build.yaml'
Some checks failed
Gitea-Actions
2023-03-22 11:35:34 +08:00
9e0635952c 更新 '.gitea/workflows/build.yaml'
Some checks are pending
Gitea-Actions
2023-03-22 11:27:27 +08:00
14b148d711 更新 '.gitea/workflows/build.yaml'
Some checks failed
Gitea-Actions
2023-03-22 11:26:41 +08:00
16c8b25ac6 更新 '.gitea/workflows/build.yaml'
All checks were successful
Gitea-Actions
2023-03-22 11:25:32 +08:00
0fe2e338b9 更新 '.gitea/workflows/build.yaml'
Some checks failed
Gitea-Actions
2023-03-22 10:55:18 +08:00
3ee52cf7e5 更新 '.gitea/workflows/build.yaml'
All checks were successful
Gitea-Actions
2023-03-22 10:43:07 +08:00
c454f058dd 更新 '.gitea/workflows/build.yaml'
All checks were successful
Gitea-Actions
2023-03-22 10:40:47 +08:00
b05e7bb644 更新 '.gitea/workflows/build.yaml'
All checks were successful
Gitea-Actions
2023-03-22 10:39:44 +08:00
95cbf6228f 更新 '.gitea/workflows/build.yaml'
All checks were successful
Gitea-Actions
2023-03-22 10:39:01 +08:00
63282d12ba 更新 '.gitea/workflows/build.yaml'
All checks were successful
Gitea-Actions
2023-03-22 10:38:41 +08:00
2fa05ebc90 更新 '.gitea/workflows/build.yaml'
All checks were successful
Gitea-Actions
2023-03-22 10:36:05 +08:00
7462f1affa 更新 '.gitea/workflows/build.yaml'
All checks were successful
Gitea-Actions
Gitea Actions Demo / Gitea-Actions (push) Successful in 57s
2023-03-22 10:00:32 +08:00
fadddc902a 更新 '.gitea/workflows/build.yaml'
Some checks failed
Gitea-Actions
2023-03-21 17:09:02 +08:00
17ea573bfd 更新 '.gitea/workflows/build.yaml'
Some checks failed
Explore-Gitea-Actions
2023-03-21 17:07:45 +08:00
b2c5b6c4f9 更新 '.gitea/workflows/build.yaml'
Some checks failed
Explore-Gitea-Actions
2023-03-21 16:56:45 +08:00
eaff0f80c8 更新 '.gitea/workflows/build.yaml'
Some checks failed
Explore-Gitea-Actions
2023-03-21 16:55:42 +08:00
0e9735a86c 更新 '.gitea/workflows/build.yaml'
Some checks failed
Explore-Gitea-Actions
2023-03-21 16:54:46 +08:00
b39a7d4108 更新 '.gitea/workflows/build.yaml'
Some checks failed
Explore-Gitea-Actions
2023-03-21 16:49:45 +08:00
1d45d2a91d 更新 '.gitea/workflows/build.yaml'
Some checks failed
Explore-Gitea-Actions
2023-03-21 16:38:19 +08:00
4115763399 更新 '.gitea/workflows/build.yaml'
Some checks failed
Explore-Gitea-Actions
2023-03-21 16:35:36 +08:00

View File

@@ -1,36 +1,47 @@
name: Gitea Actions Demo
run-name: ${{ github.actor }} is testing out Gitea Actions 🚀
on: [push]
on:
push:
tags:
- v*
jobs:
Explore-Gitea-Actions:
runs-on: [self-hosted, linux]
Gitea-Actions:
runs-on: ubuntu-latest
container:
image: catthehacker/ubuntu:act-latest
volumes:
- ubuntu_hostedtoolcache:/opt/hostedtoolcache
env:
DOCKER_REGISTRY: registry.cn-hangzhou.aliyuncs.com
DOCKER_USERNAME: rsjst
steps:
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
- name: Checkout
uses: actions/checkout@v3
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."
- run: cat README.md
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 11
cache: gradle
- run: java -version
- name: Get Meta
id: meta
run: |
echo ::set-output name=REPO::`echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}'`
echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
echo REPO_VERSION=$(echo ${{ github.ref }} | awk -F"/" '{print $3}' | awk -F"v" '{print $2}') >> $GITHUB_OUTPUT
- run: echo "🍏 This job's status is ${{ steps.get_version.outputs.VERSION }}."
- run: echo "🍏 This job's status is ${{ steps.get_repo.outputs.REPO }}."
- run: echo "🍏 This job's status is ${{ steps.meta.outputs.VERSION }}."
- run: echo "🍏 This job's status is ${{ steps.meta.outputs.REPO }}."
- run: echo ${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker BuildX
uses: docker/setup-buildx-action@v2
- name: WeChat Work notification
uses: seepine/action-wechat-work@master
if: ${{ !secrets.WECHAT_WORK_BOT_WEBHOOK }}
env:
WECHAT_WORK_BOT_WEBHOOK: ${{ secrets.WECHAT_WORK_BOT_WEBHOOK }}
with:
msgtype: markdown
content: "${{ steps.meta.outputs.REPO_NAME }}构建成功。\n
> 镜像: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_USERNAME }}/${{ steps.meta.outputs.REPO_NAME }}:${{ steps.meta.outputs.REPO_VERSION }}"