You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/publish-winget.yml
+4-17Lines changed: 4 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -5,27 +5,14 @@ on:
5
5
types: [published]
6
6
7
7
jobs:
8
-
package_exists:
8
+
publish-winget:
9
9
runs-on: ubuntu-latest
10
-
outputs:
11
-
exists: ${{ steps.check.outputs.exists }}
12
10
steps:
13
-
- id: check
11
+
- name: Test if the package isn't already published
14
12
run: |
15
13
VERSION=${GITHUB_REF:11}
16
14
echo Looking for https://raw.githubusercontent.com/microsoft/winget-pkgs/master/manifests/OpenJS/NodeJS/$VERSION.yaml
17
15
if curl --output /dev/null --silent --head --fail https://raw.githubusercontent.com/microsoft/winget-pkgs/master/manifests/OpenJS/NodeJS/$VERSION.yaml; then
0 commit comments