删除 .gitea/workflows/build.yaml
Some checks are pending
Gitea Actions Demo / build-docker (push) Waiting to run
Cache Npx / task (push) Waiting to run
Gitea Actions Demo / setup (push) Waiting to run
Gitea Actions Demo / test (push) Blocked by required conditions
Gitea Actions Demo / build (push) Blocked by required conditions
Some checks are pending
Gitea Actions Demo / build-docker (push) Waiting to run
Cache Npx / task (push) Waiting to run
Gitea Actions Demo / setup (push) Waiting to run
Gitea Actions Demo / test (push) Blocked by required conditions
Gitea Actions Demo / build (push) Blocked by required conditions
This commit is contained in:
parent
e02dadb933
commit
769d728773
@ -1,50 +0,0 @@
|
|||||||
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
|
|
Loading…
x
Reference in New Issue
Block a user