ci: Strip directory prefix on source extraction

This commit is contained in:
Matt Borgerson
2026-01-04 23:04:49 -07:00
committed by mborgerson
parent f54d804568
commit 7157fe18ee
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ jobs:
- name: Extract source package
run: |
mkdir src
tar -C src -xf xemu-*.tar.gz
tar -xf xemu-*.tar.gz -C src --strip-components=2
- name: Create debian changelog
run: |
pushd src
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
with:
name: src
- name: Extract source package
run: tar xf xemu-*.tar.gz
run: tar -xf xemu-*.tar.gz --strip-components=2
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: '3.12'
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
with:
name: src
- name: Extract source package
run: tar xf xemu-*.tar.gz
run: tar -xf xemu-*.tar.gz --strip-components=2
- name: Initialize compiler cache
id: cache
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v4
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
- name: Extract source package
run: |
mkdir src
tar -C src -xf src.tar.gz
tar -C src -xf xemu-*.tar.gz --strip-components=2
# Ensure subprojects are uploaded
find src/subprojects -name "*.gitignore" -exec rm {} \;