|
@@ -24,7 +24,7 @@ jobs:
|
|
rm C:\msys64\usr\bin\bash.exe
|
|
rm C:\msys64\usr\bin\bash.exe
|
|
|
|
|
|
- name: choco install nsis
|
|
- name: choco install nsis
|
|
- uses: nick-invision/retry@v1
|
|
|
|
|
|
+ uses: nick-invision/retry@v2
|
|
with:
|
|
with:
|
|
timeout_minutes: 10
|
|
timeout_minutes: 10
|
|
max_attempts: 10
|
|
max_attempts: 10
|
|
@@ -114,7 +114,7 @@ jobs:
|
|
[ $(ls -1 out | wc -l) -eq "3" ]
|
|
[ $(ls -1 out | wc -l) -eq "3" ]
|
|
|
|
|
|
- name: Upload artifact
|
|
- name: Upload artifact
|
|
- uses: actions/upload-artifact@v1.0.0
|
|
|
|
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: win${{env.ARCH}}Binaries
|
|
name: win${{env.ARCH}}Binaries
|
|
path: out
|
|
path: out
|
|
@@ -139,7 +139,7 @@ jobs:
|
|
rm C:\msys64\usr\bin\bash.exe
|
|
rm C:\msys64\usr\bin\bash.exe
|
|
|
|
|
|
- name: choco install nsis
|
|
- name: choco install nsis
|
|
- uses: nick-invision/retry@v1
|
|
|
|
|
|
+ uses: nick-invision/retry@v2
|
|
with:
|
|
with:
|
|
timeout_minutes: 10
|
|
timeout_minutes: 10
|
|
max_attempts: 10
|
|
max_attempts: 10
|
|
@@ -248,7 +248,7 @@ jobs:
|
|
[ $(ls -1 out | wc -l) -eq "3" ]
|
|
[ $(ls -1 out | wc -l) -eq "3" ]
|
|
|
|
|
|
- name: Upload artifact
|
|
- name: Upload artifact
|
|
- uses: actions/upload-artifact@v1.0.0
|
|
|
|
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: win${{env.ARCH}}Binaries
|
|
name: win${{env.ARCH}}Binaries
|
|
path: out
|
|
path: out
|
|
@@ -327,7 +327,7 @@ jobs:
|
|
- name: Extract branch name
|
|
- name: Extract branch name
|
|
id: extract_branch
|
|
id: extract_branch
|
|
shell: bash
|
|
shell: bash
|
|
- run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
|
|
|
|
|
+ run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
|
|
|
|
|
|
- name: Build xmldoc
|
|
- name: Build xmldoc
|
|
run: |
|
|
run: |
|
|
@@ -341,13 +341,13 @@ jobs:
|
|
EOL
|
|
EOL
|
|
|
|
|
|
- name: Upload artifact
|
|
- name: Upload artifact
|
|
- uses: actions/upload-artifact@v1.0.0
|
|
|
|
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: linuxBinaries
|
|
name: linuxBinaries
|
|
path: out
|
|
path: out
|
|
|
|
|
|
- name: Upload xmldoc artifact
|
|
- name: Upload xmldoc artifact
|
|
- uses: actions/upload-artifact@v1.0.0
|
|
|
|
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: xmldoc
|
|
name: xmldoc
|
|
path: extra/doc
|
|
path: extra/doc
|
|
@@ -377,9 +377,10 @@ jobs:
|
|
- uses: actions/checkout@main
|
|
- uses: actions/checkout@main
|
|
with:
|
|
with:
|
|
submodules: recursive
|
|
submodules: recursive
|
|
- - uses: actions/download-artifact@v1
|
|
|
|
|
|
+ - uses: actions/download-artifact@v3
|
|
with:
|
|
with:
|
|
name: linuxBinaries
|
|
name: linuxBinaries
|
|
|
|
+ path: linuxBinaries
|
|
|
|
|
|
- name: Install Neko from S3
|
|
- name: Install Neko from S3
|
|
run: |
|
|
run: |
|
|
@@ -446,12 +447,13 @@ jobs:
|
|
with:
|
|
with:
|
|
submodules: recursive
|
|
submodules: recursive
|
|
|
|
|
|
- - uses: actions/download-artifact@v1
|
|
|
|
|
|
+ - uses: actions/download-artifact@v3
|
|
with:
|
|
with:
|
|
name: linuxBinaries
|
|
name: linuxBinaries
|
|
|
|
+ path: linuxBinaries
|
|
|
|
|
|
- name: Download xmldoc artifact
|
|
- name: Download xmldoc artifact
|
|
- uses: actions/download-artifact@v2
|
|
|
|
|
|
+ uses: actions/download-artifact@v3
|
|
with:
|
|
with:
|
|
name: xmldoc
|
|
name: xmldoc
|
|
path: xmldoc
|
|
path: xmldoc
|
|
@@ -520,7 +522,7 @@ jobs:
|
|
FORCE_COLOR: 1
|
|
FORCE_COLOR: 1
|
|
steps:
|
|
steps:
|
|
- name: Login to GitHub Container Registry
|
|
- name: Login to GitHub Container Registry
|
|
- uses: docker/login-action@v1
|
|
|
|
|
|
+ uses: docker/login-action@v2
|
|
with:
|
|
with:
|
|
registry: ghcr.io
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
username: ${{ github.actor }}
|
|
@@ -531,7 +533,7 @@ jobs:
|
|
|
|
|
|
- name: Set up QEMU
|
|
- name: Set up QEMU
|
|
id: qemu
|
|
id: qemu
|
|
- uses: docker/setup-qemu-action@v1
|
|
|
|
|
|
+ uses: docker/setup-qemu-action@v2
|
|
with:
|
|
with:
|
|
image: tonistiigi/binfmt:latest
|
|
image: tonistiigi/binfmt:latest
|
|
platforms: all
|
|
platforms: all
|
|
@@ -563,7 +565,7 @@ jobs:
|
|
EARTHLY_REMOTE_CACHE: "ghcr.io/${{env.CONTAINER_REG}}_cache:build-${{env.CONTAINER_TAG}}-arm64"
|
|
EARTHLY_REMOTE_CACHE: "ghcr.io/${{env.CONTAINER_REG}}_cache:build-${{env.CONTAINER_TAG}}-arm64"
|
|
|
|
|
|
- name: Upload artifact
|
|
- name: Upload artifact
|
|
- uses: actions/upload-artifact@v1.0.0
|
|
|
|
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: linuxArm64Binaries
|
|
name: linuxArm64Binaries
|
|
path: out/linux/arm64
|
|
path: out/linux/arm64
|
|
@@ -606,7 +608,7 @@ jobs:
|
|
- name: Install dependencies
|
|
- name: Install dependencies
|
|
env:
|
|
env:
|
|
# For compatibility with macOS 10.13
|
|
# For compatibility with macOS 10.13
|
|
- ZLIB_VERSION: 1.2.13
|
|
|
|
|
|
+ ZLIB_VERSION: 1.3
|
|
MBEDTLS_VERSION: 2.25.0
|
|
MBEDTLS_VERSION: 2.25.0
|
|
PCRE2_VERSION: 10.42
|
|
PCRE2_VERSION: 10.42
|
|
run: |
|
|
run: |
|
|
@@ -668,7 +670,7 @@ jobs:
|
|
otool -L ./haxelib
|
|
otool -L ./haxelib
|
|
|
|
|
|
- name: Upload artifact
|
|
- name: Upload artifact
|
|
- uses: actions/upload-artifact@v1.0.0
|
|
|
|
|
|
+ uses: actions/upload-artifact@v3
|
|
with:
|
|
with:
|
|
name: macBinaries
|
|
name: macBinaries
|
|
path: out
|
|
path: out
|
|
@@ -692,9 +694,10 @@ jobs:
|
|
- uses: actions/checkout@main
|
|
- uses: actions/checkout@main
|
|
with:
|
|
with:
|
|
submodules: recursive
|
|
submodules: recursive
|
|
- - uses: actions/download-artifact@v1
|
|
|
|
|
|
+ - uses: actions/download-artifact@v3
|
|
with:
|
|
with:
|
|
name: win${{env.ARCH}}Binaries
|
|
name: win${{env.ARCH}}Binaries
|
|
|
|
+ path: win${{env.ARCH}}Binaries
|
|
|
|
|
|
- name: Install Neko from S3
|
|
- name: Install Neko from S3
|
|
shell: pwsh
|
|
shell: pwsh
|
|
@@ -784,9 +787,10 @@ jobs:
|
|
- uses: actions/checkout@main
|
|
- uses: actions/checkout@main
|
|
with:
|
|
with:
|
|
submodules: recursive
|
|
submodules: recursive
|
|
- - uses: actions/download-artifact@v1
|
|
|
|
|
|
+ - uses: actions/download-artifact@v3
|
|
with:
|
|
with:
|
|
name: win${{env.ARCH}}Binaries
|
|
name: win${{env.ARCH}}Binaries
|
|
|
|
+ path: win${{env.ARCH}}Binaries
|
|
|
|
|
|
- name: Install Neko from S3
|
|
- name: Install Neko from S3
|
|
shell: pwsh
|
|
shell: pwsh
|
|
@@ -876,9 +880,10 @@ jobs:
|
|
- uses: actions/checkout@main
|
|
- uses: actions/checkout@main
|
|
with:
|
|
with:
|
|
submodules: recursive
|
|
submodules: recursive
|
|
- - uses: actions/download-artifact@v1
|
|
|
|
|
|
+ - uses: actions/download-artifact@v3
|
|
with:
|
|
with:
|
|
name: macBinaries
|
|
name: macBinaries
|
|
|
|
+ path: macBinaries
|
|
|
|
|
|
- name: Install Neko from S3
|
|
- name: Install Neko from S3
|
|
run: |
|
|
run: |
|
|
@@ -943,7 +948,7 @@ jobs:
|
|
uses: actions/checkout@main
|
|
uses: actions/checkout@main
|
|
|
|
|
|
- name: Download build artifacts
|
|
- name: Download build artifacts
|
|
- uses: actions/download-artifact@v2
|
|
|
|
|
|
+ uses: actions/download-artifact@v3
|
|
|
|
|
|
- name: Install awscli
|
|
- name: Install awscli
|
|
run: |
|
|
run: |
|
|
@@ -955,7 +960,7 @@ jobs:
|
|
- name: Extract branch name
|
|
- name: Extract branch name
|
|
id: extract_branch
|
|
id: extract_branch
|
|
shell: bash
|
|
shell: bash
|
|
- run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
|
|
|
|
|
|
+ run: echo "branch=${GITHUB_REF#refs/heads/}" >> $GITHUB_OUTPUT
|
|
|
|
|
|
- name: Upload binaries
|
|
- name: Upload binaries
|
|
shell: bash
|
|
shell: bash
|
|
@@ -1018,7 +1023,7 @@ jobs:
|
|
sudo apt-get install -qqy libc6
|
|
sudo apt-get install -qqy libc6
|
|
|
|
|
|
- name: Download Haxe
|
|
- name: Download Haxe
|
|
- uses: actions/download-artifact@v2
|
|
|
|
|
|
+ uses: actions/download-artifact@v3
|
|
with:
|
|
with:
|
|
name: linuxBinaries
|
|
name: linuxBinaries
|
|
path: linuxBinaries
|
|
path: linuxBinaries
|
|
@@ -1034,7 +1039,7 @@ jobs:
|
|
sudo ln -s `pwd`/linuxBinaries/std /usr/local/share/haxe/std
|
|
sudo ln -s `pwd`/linuxBinaries/std /usr/local/share/haxe/std
|
|
|
|
|
|
- name: Download xmldoc artifact
|
|
- name: Download xmldoc artifact
|
|
- uses: actions/download-artifact@v2
|
|
|
|
|
|
+ uses: actions/download-artifact@v3
|
|
with:
|
|
with:
|
|
name: xmldoc
|
|
name: xmldoc
|
|
path: xmldoc
|
|
path: xmldoc
|