mirror of
https://github.com/xemu-project/xemu.git
synced 2026-07-11 01:24:41 +02:00
ci: Strip directory prefix on source extraction
This commit is contained in:
committed by
mborgerson
parent
f54d804568
commit
7157fe18ee
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {} \;
|
||||
|
||||
Reference in New Issue
Block a user