m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-13 23:53:48 -05:00

Update build.yml

(Hopefully) fixed CI errors
This commit is contained in:
Sergio
2024-08-31 19:07:19 +03:00
committed by GitHub
parent 0f7245dbf4
commit 30b8e943c0

View File

@@ -75,28 +75,22 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [get-tag, build-image, build-binary] needs: [get-tag, build-image, build-binary]
steps: steps:
# - name: Download arm64 binary - name: Download arm64 binary
# uses: actions/download-artifact@v4
# with:
# name: cup-linux-aarch64
# path: cup-linux-aarch64
# - name: Download x86 binary
# uses: actions/download-artifact@v4
# with:
# name: cup-linux-x86_64
# path: cup-linux-x86_64
- name: Download binaries
uses: actions/download-artifact@v4 uses: actions/download-artifact@v4
with:
name: cup-linux-aarch64
path: cup-linux-aarch64
- name: Debug - name: Download x86 binary
run: ls uses: actions/download-artifact@v4
with:
name: cup-linux-x86_64
path: cup-linux-x86_64
- name: Extract and rename binaries - name: Extract and rename binaries
run: | run: |
unzip cup-linux-aarch64.zip && mv cup cup-linux-aarch64 unzip cup-linux-aarch64 && mv cup cup-linux-aarch64
unzip cup-linux-x86_64.zip && mv cup cup-linux-x86_64 unzip cup-linux-x86_64 && mv cup cup-linux-x86_64
- name: Create release - name: Create release
uses: softprops/action-gh-release@v2 uses: softprops/action-gh-release@v2