The workspace is different when running in containers, it's actually GITHUB_WORKSPACE

This commit is contained in:
MKLeb 2023-03-02 14:52:34 -05:00 committed by Megan Wilhite
parent a0e355349f
commit 599c8e5455
3 changed files with 3 additions and 3 deletions

View file

@ -55,7 +55,7 @@ jobs:
- name: Build Deb
run: |
tools pkg build deb --salt-version ${{ inputs.salt-version }} --arch ${{ matrix.arch }} --checkout-root ${{ github.workspace }}/pkgs/checkout
tools pkg build deb --salt-version ${{ inputs.salt-version }} --arch ${{ matrix.arch }} --checkout-root ${{ env.GITHUB_WORKSPACE }}/pkgs/checkout
- name: Cleanup
run: |

View file

@ -54,7 +54,7 @@ jobs:
- name: Build RPM
run: |
tools pkg build rpm --salt-version ${{ inputs.salt-version }} --arch ${{ matrix.arch }} --checkout-root ${{ github.workspace }}
tools pkg build rpm --salt-version ${{ inputs.salt-version }} --arch ${{ matrix.arch }} --checkout-root ${{ env.GITHUB_WORKSPACE }}
- name: Upload RPMs
uses: actions/upload-artifact@v3

View file

@ -44,7 +44,7 @@ jobs:
- name: Build Windows Packages
run: |
tools pkg build windows --salt-version ${{ inputs.salt-version }} --arch ${{ matrix.arch }} --checkout-root ${{ github.workspace }}
tools pkg build windows --salt-version ${{ inputs.salt-version }} --arch ${{ matrix.arch }} --checkout-root ${{ env.GITHUB_WORKSPACE }}
- name: Upload ${{ matrix.arch }} Packages
uses: actions/upload-artifact@v3