steps in container
This commit is contained in:
parent
caaabbba46
commit
ec21ffee90
1 changed files with 39 additions and 43 deletions
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
|
|
@ -63,6 +63,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: quay.io/pypa/manylinux_2_28_x86_64
|
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
|
||||||
|
|
@ -100,7 +102,7 @@ jobs:
|
||||||
ls -lh /opt/builds/
|
ls -lh /opt/builds/
|
||||||
tar --version
|
tar --version
|
||||||
zstd --version
|
zstd --version
|
||||||
|
steps:
|
||||||
- name: Save build to cache
|
- name: Save build to cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
|
|
@ -198,12 +200,6 @@ jobs:
|
||||||
- name: Inspect build directory
|
- name: Inspect build directory
|
||||||
run: |
|
run: |
|
||||||
ls -lh /opt/builds
|
ls -lh /opt/builds
|
||||||
sudo find / | grep ytdl-sub | true
|
|
||||||
|
|
||||||
- name: Move linux build into dir with other builds
|
|
||||||
run: |
|
|
||||||
sudo mv /root/opt/builds/* /opt/builds
|
|
||||||
sudo chown -R runner:docker /opt/builds
|
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
if: ${{ github.ref == 'refs/heads/master' }}
|
if: ${{ github.ref == 'refs/heads/master' }}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue