Skip to content

Commit

Permalink
Update release-zip.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
kairusds authored Dec 22, 2023
1 parent 37b8328 commit c9169ca
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/release-zip.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,26 @@ jobs:
shell: bash
env:
ARCH: 'x64'
OUT_ZIP: 'alpine-3.19.0.zip'
run: make -e && tree
OUT_ZIP: 'Alpine.zip'
LNCR_EXE: 'alpine-3.19.0.exe'
run: make -j$(nproc)
- name: Build Zip ARM64
shell: bash
env:
ARCH: 'arm64'
OUT_ZIP: 'alpine_arm64-3.19.0.zip'
run: make -e && tree
OUT_ZIP: 'Alpine_arm64.zip'
LNCR_EXE: 'alpine_arm64-3.19.0.exe'
run: make -j$(nproc)
- name: Upload a Build Artifact x64
uses: actions/upload-artifact@main
with:
name: alpine-3.19.0.zip
path: alpine-3.19.0.zip
name: Alpine.zip
path: Alpine.zip
- name: Upload a Build Artifact ARM64
uses: actions/upload-artifact@main
with:
name: alpine_arm64-3.19.0.zip
path: alpine_arm64-3.19.0.zip
name: Alpine_arm64.zip
path: Alpine_arm64.zip

Release:
needs: [Build]
Expand All @@ -46,11 +48,11 @@ jobs:
- name: Download Build Artifact x64
uses: actions/download-artifact@main
with:
name: alpine-3.19.0.zip
name: Alpine.zip
- name: Download Build Artifact arm64
uses: actions/download-artifact@main
with:
name: alpine_arm64-3.19.0.zip
name: Alpine_arm64.zip
- name: Create release
id: create_release
uses: actions/create-release@main
Expand All @@ -68,8 +70,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: alpine-3.19.0.zip
asset_name: alpine-3.19.0.zip
asset_path: Alpine.zip
asset_name: Alpine.zip
asset_content_type: application/zip
- name: Upload Release Asset arm64
id: upload-release-asset-arm64
Expand All @@ -78,6 +80,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: alpine_arm64-3.19.0.zip
asset_name: alpine_arm64-3.19.0.zip
asset_path: Alpine_arm64.zip
asset_name: Alpine_arm64.zip
asset_content_type: application/zip

0 comments on commit c9169ca

Please sign in to comment.