fail on miss
This commit is contained in:
parent
98c0ea19e8
commit
91999f21a5
1 changed files with 10 additions and 1 deletions
11
.github/workflows/release.yaml
vendored
11
.github/workflows/release.yaml
vendored
|
|
@ -58,7 +58,10 @@ jobs:
|
||||||
needs:
|
needs:
|
||||||
- version
|
- version
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: quay.io/pypa/manylinux_2_28_x86_64
|
container:
|
||||||
|
image: quay.io/pypa/manylinux_2_28_x86_64
|
||||||
|
volumes:
|
||||||
|
- /opt/builds:/opt/builds
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Write version to init file
|
- name: Write version to init file
|
||||||
|
|
@ -91,6 +94,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: /opt/builds/ytdl-sub_linux
|
path: /opt/builds/ytdl-sub_linux
|
||||||
key: ${{ github.sha }}-linux
|
key: ${{ github.sha }}-linux
|
||||||
|
fail-on-cache-miss: True
|
||||||
|
|
||||||
build-arm:
|
build-arm:
|
||||||
name: build-arm
|
name: build-arm
|
||||||
|
|
@ -130,6 +134,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: /opt/builds/ytdl-sub_${{ matrix.arch }}
|
path: /opt/builds/ytdl-sub_${{ matrix.arch }}
|
||||||
key: ${{ github.sha }}-${{ matrix.arch }}
|
key: ${{ github.sha }}-${{ matrix.arch }}
|
||||||
|
fail-on-cache-miss: True
|
||||||
|
|
||||||
##################################################################################################
|
##################################################################################################
|
||||||
|
|
||||||
|
|
@ -151,24 +156,28 @@ jobs:
|
||||||
with:
|
with:
|
||||||
path: /opt/builds/ytdl-sub_linux
|
path: /opt/builds/ytdl-sub_linux
|
||||||
key: ${{github.sha}}-linux
|
key: ${{github.sha}}-linux
|
||||||
|
fail-on-cache-miss: True
|
||||||
|
|
||||||
- name: Restore aarch64 build
|
- name: Restore aarch64 build
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /opt/builds/ytdl-sub_aarch64
|
path: /opt/builds/ytdl-sub_aarch64
|
||||||
key: ${{github.sha}}-aarch64
|
key: ${{github.sha}}-aarch64
|
||||||
|
fail-on-cache-miss: True
|
||||||
|
|
||||||
- name: Restore armv7 build
|
- name: Restore armv7 build
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /opt/builds/ytdl-sub_armv7
|
path: /opt/builds/ytdl-sub_armv7
|
||||||
key: ${{github.sha}}-armv7
|
key: ${{github.sha}}-armv7
|
||||||
|
fail-on-cache-miss: True
|
||||||
|
|
||||||
- name: Restore armv6 build
|
- name: Restore armv6 build
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: /opt/builds/ytdl-sub_armv6
|
path: /opt/builds/ytdl-sub_armv6
|
||||||
key: ${{github.sha}}-armv6
|
key: ${{github.sha}}-armv6
|
||||||
|
fail-on-cache-miss: True
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue