doc: update github-action.md (#184)
This commit is contained in:
parent
f915f4c155
commit
a41ec2693e
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: github.repository == 'jaywcjlove/reference'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@ -58,7 +59,6 @@ jobs:
|
|||||||
filter-author: (小弟调调™)
|
filter-author: (小弟调调™)
|
||||||
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)
|
filter: (^[\s]+?[R|r]elease)|(^[R|r]elease)
|
||||||
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
if: steps.create_tag.outputs.successful
|
if: steps.create_tag.outputs.successful
|
||||||
@ -144,8 +144,6 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}}
|
tags: ghcr.io/jaywcjlove/reference:${{steps.changelog.outputs.version}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# # Create Docker Image in Github
|
# # Create Docker Image in Github
|
||||||
# - name: Login to GitHub registry
|
# - name: Login to GitHub registry
|
||||||
# run: echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
# run: echo ${{ github.token }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||||
|
1
.github/workflows/win.yml
vendored
1
.github/workflows/win.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: github.repository == 'jaywcjlove/reference'
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user