huanghs
2652756cf2
Some checks failed
Gitea Actions Demo / setup (push) Has been cancelled
Gitea Actions Demo / test (push) Has been cancelled
Gitea Actions Demo / build (push) Has been cancelled
build / build (16.x) (push) Has been cancelled
build / build (18.x) (push) Has been cancelled
build / build (10.x) (push) Has been cancelled
Gitea Actions Demo / Gitea-Actions (push) Failing after 3m33s
50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
name: Gitea Actions Demo
|
|
on: [push]
|
|
jobs:
|
|
Gitea-Actions:
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: catthehacker/ubuntu:act-latest
|
|
volumes:
|
|
- ubuntu_hostedtoolcache:/opt/hostedtoolcache
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- run: cat README.md
|
|
|
|
- name: Docker meta
|
|
id: meta
|
|
uses: docker/metadata-action@v5
|
|
with:
|
|
images: repo.io/${GITHUB_REPOSITORY}
|
|
tags: |
|
|
type=semver,pattern={{version}}
|
|
type=semver,pattern={{major}}.{{minor}}
|
|
|
|
- run: cat ${{ steps.meta.outputs.bake-file }}
|
|
|
|
- run: |
|
|
echo ${{ steps.meta.outputs.tags }}
|
|
|
|
- name: Setup Java
|
|
uses: actions/setup-java@v3
|
|
with:
|
|
distribution: zulu
|
|
java-version: 11
|
|
|
|
- run: java -version
|
|
|
|
- name: Setup Pnpm
|
|
uses: pnpm/action-setup@v2
|
|
with:
|
|
version: 7
|
|
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
cache: 'pnpm'
|
|
|
|
- run: pnpm -v
|
|
- run: pnpm install |