github: Upgrade upload-artifact@v4 to upload-artifact@v6
This commit is contained in:
1 parent
89faddb7a3
commit
ed1e71ba54
2 files changed
+12
-12
No files matched your search
+10
-10
@@ -57,7 +57,7 @@ jobs:
|
|||||||
echo PYTHON_VERSION_MINGW=$(git ls-remote https://github.com/msys2-contrib/cpython-mingw.git | grep 'refs/heads/mingw-v3.13.11$' | awk '{print $1}') >> $GITHUB_OUTPUT
|
echo PYTHON_VERSION_MINGW=$(git ls-remote https://github.com/msys2-contrib/cpython-mingw.git | grep 'refs/heads/mingw-v3.13.11$' | awk '{print $1}') >> $GITHUB_OUTPUT
|
||||||
cat $GITHUB_OUTPUT
|
cat $GITHUB_OUTPUT
|
||||||
cat $GITHUB_OUTPUT >> parameters.txt
|
cat $GITHUB_OUTPUT >> parameters.txt
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: parameters
|
name: parameters
|
||||||
path: |
|
path: |
|
||||||
@@ -89,7 +89,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-stage1-$TAG-ucrt-$DISTRO
|
NAME=llvm-mingw-stage1-$TAG-ucrt-$DISTRO
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: linux-stage1-ucrt-x86_64-toolchain
|
name: linux-stage1-ucrt-x86_64-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -119,7 +119,7 @@ jobs:
|
|||||||
# Build LLVM in mostly the same way as it is going to be built in the
|
# Build LLVM in mostly the same way as it is going to be built in the
|
||||||
# final form.
|
# final form.
|
||||||
LLVM_CMAKEFLAGS="-DLLVM_ENABLE_LIBXML2=OFF -DLLDB_ENABLE_PYTHON=OFF" ./build-all.sh --profile $(pwd)/llvm-mingw-stage1
|
LLVM_CMAKEFLAGS="-DLLVM_ENABLE_LIBXML2=OFF -DLLDB_ENABLE_PYTHON=OFF" ./build-all.sh --profile $(pwd)/llvm-mingw-stage1
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: profile
|
name: profile
|
||||||
path: |
|
path: |
|
||||||
@@ -162,7 +162,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-ucrt-$DISTRO
|
NAME=llvm-mingw-$TAG-ucrt-$DISTRO
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: linux-ucrt-x86_64-toolchain
|
name: linux-ucrt-x86_64-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -214,7 +214,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-ucrt-$DISTRO
|
NAME=llvm-mingw-$TAG-ucrt-$DISTRO
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: linux-ucrt-aarch64-toolchain
|
name: linux-ucrt-aarch64-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -249,7 +249,7 @@ jobs:
|
|||||||
./run-tests.sh $(pwd)/install/llvm-mingw
|
./run-tests.sh $(pwd)/install/llvm-mingw
|
||||||
cd install
|
cd install
|
||||||
tar -Jcf ../llvm-mingw-linux.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" llvm-mingw
|
tar -Jcf ../llvm-mingw-linux.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" llvm-mingw
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: linux-asserts-x86_64-toolchain
|
name: linux-asserts-x86_64-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -277,7 +277,7 @@ jobs:
|
|||||||
NAME=llvm-$TAG-macos-$(uname -m)
|
NAME=llvm-$TAG-macos-$(uname -m)
|
||||||
mv llvm $NAME
|
mv llvm $NAME
|
||||||
gtar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
gtar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: macos-llvm
|
name: macos-llvm
|
||||||
path: |
|
path: |
|
||||||
@@ -322,7 +322,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-ucrt-macos-universal
|
NAME=llvm-mingw-$TAG-ucrt-macos-universal
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
gtar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
gtar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: macos-ucrt-toolchain
|
name: macos-ucrt-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -376,7 +376,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-ucrt-msys2-${{matrix.sys}}
|
NAME=llvm-mingw-$TAG-ucrt-msys2-${{matrix.sys}}
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: msys2-${{matrix.sys}}-toolchain
|
name: msys2-${{matrix.sys}}-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -444,7 +444,7 @@ jobs:
|
|||||||
for i in make-*.tar.*; do
|
for i in make-*.tar.*; do
|
||||||
if [ ! -L $i ]; then cp -a $i /opt/cache; fi
|
if [ ! -L $i ]; then cp -a $i /opt/cache; fi
|
||||||
done
|
done
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
|
name: windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ jobs:
|
|||||||
NAME=llvm-mingw-$TAG-msvcrt-$DISTRO
|
NAME=llvm-mingw-$TAG-msvcrt-$DISTRO
|
||||||
mv llvm-mingw $NAME
|
mv llvm-mingw $NAME
|
||||||
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
tar -Jcf ../$NAME.tar.xz --format=ustar --numeric-owner --owner=0 --group=0 --sort=name --mtime="$BUILD_DATE" $NAME
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: linux-msvcrt-x86_64-toolchain
|
name: linux-msvcrt-x86_64-toolchain
|
||||||
path: |
|
path: |
|
||||||
@@ -147,7 +147,7 @@ jobs:
|
|||||||
for i in make-*.tar.*; do
|
for i in make-*.tar.*; do
|
||||||
if [ ! -L $i ]; then cp -a $i /opt/cache; fi
|
if [ ! -L $i ]; then cp -a $i /opt/cache; fi
|
||||||
done
|
done
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
|
name: windows-${{matrix.crt}}-${{matrix.arch}}-toolchain
|
||||||
path: |
|
path: |
|
||||||
|
|||||||
Reference in new issue
Block a user