Fix build (#563)

ref ToruNiina/toml11/commit/22db720ad55c3470c4d036ae74be35e68c761845
This commit is contained in:
Howard Wu
2023-01-12 21:25:50 +08:00
committed by GitHub
parent d47b8868e5
commit c90d7a66db
6 changed files with 60 additions and 69 deletions

View File

@@ -1,5 +1,7 @@
name: Publish Docker Image
on: [push]
on:
push:
branches: [ master ]
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
@@ -11,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout base
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -42,7 +44,7 @@ jobs:
- name: Replace tag without `v`
if: startsWith(github.ref, 'refs/tags/')
uses: actions/github-script@v1
uses: actions/github-script@v6
id: version
with:
script: |
@@ -78,7 +80,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout base
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -109,7 +111,7 @@ jobs:
- name: Replace tag without `v`
if: startsWith(github.ref, 'refs/tags/')
uses: actions/github-script@v1
uses: actions/github-script@v6
id: version
with:
script: |
@@ -145,7 +147,7 @@ jobs:
runs-on: [self-hosted, linux, ARM64]
steps:
- name: Checkout base
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -180,7 +182,7 @@ jobs:
- name: Replace tag without `v`
if: startsWith(github.ref, 'refs/tags/')
uses: actions/github-script@v1
uses: actions/github-script@v6
id: version
with:
script: |
@@ -218,7 +220,7 @@ jobs:
runs-on: [self-hosted, linux, ARM64]
steps:
- name: Checkout base
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -253,7 +255,7 @@ jobs:
- name: Replace tag without `v`
if: startsWith(github.ref, 'refs/tags/')
uses: actions/github-script@v1
uses: actions/github-script@v6
id: version
with:
script: |
@@ -292,7 +294,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout base
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
@@ -347,7 +349,7 @@ jobs:
- name: Replace tag without `v`
if: startsWith(github.ref, 'refs/tags/')
uses: actions/github-script@v1
uses: actions/github-script@v6
id: version
with:
script: |