steps in container

This commit is contained in:
Jesse Bannon 2023-02-23 11:35:08 -08:00
parent caaabbba46
commit ec21ffee90

View file

@ -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' }}