Skip to content

Commit d2ac8c4

Browse files
committed
Update CI
1 parent d968dcb commit d2ac8c4

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

.github/workflows/build-sign-and-release.yaml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ jobs:
5757
name: ForceBindIPGUI
5858
path: ./dist
5959

60-
- name: Get short SHA
61-
id: get_short_sha
62-
run: echo "short_sha=$(echo ${{ github.sha }} | cut -c1-10)" >> $GITHUB_ENV
63-
6460
# https://melatonin.dev/blog/code-signing-on-windows-with-azure-trusted-signing/#step-9-trusted-signing-in-ci-github
6561
- name: Azure Trusted Signing
6662
uses: azure/trusted-signing-action@v0.5.0
@@ -95,6 +91,10 @@ jobs:
9591
- name: Checkout
9692
uses: actions/checkout@v2
9793

94+
- name: Get short SHA
95+
id: get_short_sha
96+
run: echo "short_sha=$(echo ${{ github.sha }} | cut -c1-10)" >> $GITHUB_ENV
97+
9898
- name: Download artifact
9999
uses: actions/download-artifact@v3
100100
with:
@@ -110,16 +110,7 @@ jobs:
110110
body: |
111111
Release triggered by commit [${{ env.short_sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }}): ${{ github.event.head_commit.message }}
112112
files: ./dist/ForceBindIP-GUI.exe
113+
make_latest: true
113114
env:
114115
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
115116

116-
- name: Run latest-tag
117-
uses: EndBug/latest-tag@latest
118-
with:
119-
ref: latest
120-
description: |
121-
Latest release - triggered by commit [${{ env.short_sha }}](https://github.com/${{ github.repository }}/commit/${{ github.sha }})
122-
force-branch: false
123-
git-directory: '.'
124-
env:
125-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)