Skip to content

Commit 688a5c8

Browse files
committed
The snap automation needs work.
1 parent 5948a63 commit 688a5c8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ jobs:
4545
id: build
4646
env:
4747
VERSION: ${{ github.ref_name }}
48-
URL_X64: https://github.com/mlhpdx/SimplestLoadBalancer/releases/download/${{ github.ref_name }}/SimplestLoadBalancer-${{ github.ref_name }}-win-x64.msi
49-
URL_ARM64: https://github.com/mlhpdx/SimplestLoadBalancer/releases/download/${{ github.ref_name }}/SimplestLoadBalancer-${{ github.ref_name }}-win-arm64.msi
48+
URL_X64: https://github.com/mlhpdx/SimplestLoadBalancer/releases/download/${{ github.ref_name }}/SimplestLoadBalancer-${{ github.ref_name }}-linux-x64.zip
49+
URL_ARM64: https://github.com/mlhpdx/SimplestLoadBalancer/releases/download/${{ github.ref_name }}/SimplestLoadBalancer-${{ github.ref_name }}-linux-arm.zip
5050
- uses: snapcore/action-publish@v1
5151
env:
5252
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.STORE_LOGIN }}

snapcraft.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ parts:
3939
- wget
4040
override-build: |
4141
craftctl default
42-
wget -O release.zip $URL_X64
42+
wget -O release.zip https://github.com/mlhpdx/SimplestLoadBalancer/releases/download/${SNAP_VERSION}/SimplestLoadBalancer-${SNAP_VERSION}-linux-x64.zip
4343
unzip release.zip
4444
mkdir -p $CRAFT_PART_INSTALL/bin/
4545
cp $CRAFT_PART_SRC/publish/SimplestLoadBalancer $CRAFT_PART_INSTALL/bin/

0 commit comments

Comments
 (0)