|
5 | 5 | types: [created] |
6 | 6 |
|
7 | 7 | jobs: |
8 | | - delete_msvc2019_latest: |
9 | | - name: Delete tag msvc2019_latest |
10 | | - if: ${{ !github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'get_msvc2019') && github.event.issue.user.login == 'nonwill' && github.triggering_actor == 'nonwill' && github.event.comment.user.login == 'nonwill' }} |
11 | | - runs-on: ubuntu-latest |
12 | | - steps: |
13 | | - - name: Check out Git repository |
14 | | - uses: actions/checkout@v1 |
15 | | - - name: Delete msvc2019_latest assets |
16 | | - uses: andreaswilli/delete-release-assets-action@v3.0.0 |
17 | | - with: |
18 | | - github_token: ${{ secrets.GITHUB_TOKEN }} |
19 | | - tag: msvc2019_latest |
20 | | - deleteOnlyFromDrafts: false |
21 | | - |
22 | 8 | get_latest_msvc2019: |
23 | | - needs: delete_msvc2019_latest |
24 | 9 | name: Get latest msvc 2019 build tools |
25 | 10 | if: ${{ !github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'get_msvc2019') && github.event.issue.user.login == 'nonwill' && github.triggering_actor == 'nonwill' && github.event.comment.user.login == 'nonwill' }} |
26 | 11 | runs-on: windows-2019 |
@@ -88,77 +73,86 @@ jobs: |
88 | 73 | cd .. |
89 | 74 |
|
90 | 75 | - name: zip Llvm |
91 | | - uses: thedoctor0/zip-release@0.7.1 |
| 76 | + uses: thedoctor0/zip-release@0.7.6 |
92 | 77 | with: |
93 | 78 | type: 'zip' |
94 | 79 | path: Llvm |
95 | 80 | filename: 'Llvm.zip' |
96 | 81 |
|
97 | 82 | - name: zip VC_Auxiliary |
98 | | - uses: thedoctor0/zip-release@0.7.1 |
| 83 | + uses: thedoctor0/zip-release@0.7.6 |
99 | 84 | with: |
100 | 85 | type: 'zip' |
101 | 86 | path: Auxiliary |
102 | 87 | filename: 'vc_Auxiliary.zip' |
103 | 88 |
|
104 | 89 | - name: zip atlmfc |
105 | | - uses: thedoctor0/zip-release@0.7.1 |
| 90 | + uses: thedoctor0/zip-release@0.7.6 |
106 | 91 | with: |
107 | 92 | type: 'zip' |
108 | 93 | path: vcToolsInstallDir/atlmfc |
109 | 94 | filename: 'atlmfc.zip' |
110 | 95 |
|
111 | 96 | - name: zip Auxiliary |
112 | | - uses: thedoctor0/zip-release@0.7.1 |
| 97 | + uses: thedoctor0/zip-release@0.7.6 |
113 | 98 | with: |
114 | 99 | type: 'zip' |
115 | 100 | path: vcToolsInstallDir/Auxiliary |
116 | 101 | filename: 'Auxiliary.zip' |
117 | 102 |
|
118 | 103 | - name: zip crt |
119 | | - uses: thedoctor0/zip-release@0.7.1 |
| 104 | + uses: thedoctor0/zip-release@0.7.6 |
120 | 105 | with: |
121 | 106 | type: 'zip' |
122 | 107 | path: vcToolsInstallDir/crt |
123 | 108 | filename: 'crt.zip' |
124 | 109 |
|
125 | 110 | - name: zip include |
126 | | - uses: thedoctor0/zip-release@0.7.1 |
| 111 | + uses: thedoctor0/zip-release@0.7.6 |
127 | 112 | with: |
128 | 113 | type: 'zip' |
129 | 114 | path: vcToolsInstallDir/include |
130 | 115 | filename: 'include.zip' |
131 | 116 |
|
132 | 117 | - name: zip lib/x64 |
133 | | - uses: thedoctor0/zip-release@0.7.1 |
| 118 | + uses: thedoctor0/zip-release@0.7.6 |
134 | 119 | with: |
135 | 120 | type: 'zip' |
136 | 121 | path: vcToolsInstallDir/lib/x64 |
137 | 122 | filename: 'lib_x64.zip' |
138 | 123 |
|
139 | 124 | - name: zip lib/x86 |
140 | | - uses: thedoctor0/zip-release@0.7.1 |
| 125 | + uses: thedoctor0/zip-release@0.7.6 |
141 | 126 | with: |
142 | 127 | type: 'zip' |
143 | 128 | path: vcToolsInstallDir/lib/x86 |
144 | 129 | filename: 'lib_x86.zip' |
145 | 130 |
|
146 | 131 | - name: zip bin/Hostx64 |
147 | | - uses: thedoctor0/zip-release@0.7.1 |
| 132 | + uses: thedoctor0/zip-release@0.7.6 |
148 | 133 | with: |
149 | 134 | type: 'zip' |
150 | 135 | path: vcToolsInstallDir/bin/Hostx64 |
151 | 136 | filename: 'bin_Hostx64.zip' |
152 | 137 |
|
153 | 138 | - name: zip bin/Hostx86 |
154 | | - uses: thedoctor0/zip-release@0.7.1 |
| 139 | + uses: thedoctor0/zip-release@0.7.6 |
155 | 140 | with: |
156 | 141 | type: 'zip' |
157 | 142 | path: vcToolsInstallDir/bin/Hostx86 |
158 | 143 | filename: 'bin_Hostx86.zip' |
159 | 144 |
|
| 145 | + - name: Check out Git repository |
| 146 | + uses: actions/checkout@v4 |
| 147 | + - name: Delete msvc2019_latest assets |
| 148 | + uses: andreaswilli/delete-release-assets-action@v4.0.0 |
| 149 | + with: |
| 150 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
| 151 | + tag: msvc2019_latest |
| 152 | + deleteOnlyFromDrafts: false |
| 153 | + |
160 | 154 | - name: Create Release and Upload Release Asset |
161 | | - uses: softprops/action-gh-release@v1 |
| 155 | + uses: softprops/action-gh-release@v2 |
162 | 156 | with: |
163 | 157 | tag_name: msvc2019_latest |
164 | 158 | name: Latest msvc-2019 build tools for Windows x86/x64 |
|
0 commit comments