@@ -82,13 +82,18 @@ jobs:
82 skopeo copy docker-archive:$(nix-build -A compaRESTGithubAction -j auto --no-out-link) docker://ilyakooo0/comparest-github-action:${{ github.event.release.tag_name }}
82 skopeo copy docker-archive:$(nix-build -A compaRESTGithubAction -j auto --no-out-link) docker://ilyakooo0/comparest-github-action:${{ github.event.release.tag_name }}
83 skopeo copy docker-archive:$(nix-build -A compaRESTImage -j auto --no-out-link) docker://ilyakooo0/comparest:${{ github.event.release.tag_name }}
83 skopeo copy docker-archive:$(nix-build -A compaRESTImage -j auto --no-out-link) docker://ilyakooo0/comparest:${{ github.event.release.tag_name }}
85+ - name: Zip Release Assets
86+ if: github.event_name == 'release'
89+ zip compaREST-Linux-x86.zip compaREST
85 - name: Upload compaREST Github Action Docker Image to release
91 - name: Upload compaREST Github Action Docker Image to release
86 if: github.event_name == 'release'
92 if: github.event_name == 'release'
87 uses: svenstaro/upload-release-action@2.2.1
93 uses: svenstaro/upload-release-action@2.2.1
89 repo_token: ${{ secrets.GITHUB_TOKEN }}
95 repo_token: ${{ secrets.GITHUB_TOKEN }}
90 file: compaREST-Github-Action-image.tar.gz
96 file: compaREST-Github-Action-image.tar.gz
91− asset_name: compaREST Github Action Docker Image
92 tag: ${{ github.ref }}
97 tag: ${{ github.ref }}
94 - name: Upload compaREST Docker Image to release
99 - name: Upload compaREST Docker Image to release
@@ -97,7 +102,6 @@ jobs:
98 repo_token: ${{ secrets.GITHUB_TOKEN }}
103 repo_token: ${{ secrets.GITHUB_TOKEN }}
99 file: compaREST-image.tar.gz
104 file: compaREST-image.tar.gz
100− asset_name: compaREST Docker Image
101 tag: ${{ github.ref }}
105 tag: ${{ github.ref }}
103 - name: Upload compaREST binary – Linux – x86 to release
107 - name: Upload compaREST binary – Linux – x86 to release
@@ -105,8 +109,7 @@ jobs:
105 uses: svenstaro/upload-release-action@2.2.1
109 uses: svenstaro/upload-release-action@2.2.1
107 repo_token: ${{ secrets.GITHUB_TOKEN }}
111 repo_token: ${{ secrets.GITHUB_TOKEN }}
108− file: compaREST
112+ file: compaREST-Linux-x86.zip
109− asset_name: compaREST binary – Linux – x86
110 tag: ${{ github.ref }}
113 tag: ${{ github.ref }}
@@ -131,13 +134,18 @@ jobs:
131 name: compaREST binary – macOS – x86
134 name: compaREST binary – macOS – x86
132 path: compaREST
135 path: compaREST
137+ - name: Zip Release Assets
138+ if: github.event_name == 'release'
141+ zip -r compaREST-macOS-x86.zip compaREST
134 - name: Upload compaREST binary – macOS – x86 to release
143 - name: Upload compaREST binary – macOS – x86 to release
135 if: github.event_name == 'release'
144 if: github.event_name == 'release'
136 uses: svenstaro/upload-release-action@2.2.1
145 uses: svenstaro/upload-release-action@2.2.1
138 repo_token: ${{ secrets.GITHUB_TOKEN }}
147 repo_token: ${{ secrets.GITHUB_TOKEN }}
139− file: compaREST
148+ file: compaREST-macOS-x86.zip
140− asset_name: compaREST binary – macOS – x86
141 tag: ${{ github.ref }}
149 tag: ${{ github.ref }}
143 Linux-Windows:
151 Linux-Windows:
@@ -162,11 +170,16 @@ jobs:
162 name: compaREST binary – Windows
170 name: compaREST binary – Windows
163 path: compaREST
171 path: compaREST
173+ - name: Zip Release Assets
174+ if: github.event_name == 'release'
177+ zip -r compaREST-Windows.zip compaREST
165 - name: Upload compaREST binary – Windows to release
179 - name: Upload compaREST binary – Windows to release
166 if: github.event_name == 'release'
180 if: github.event_name == 'release'
167 uses: svenstaro/upload-release-action@2.2.1
181 uses: svenstaro/upload-release-action@2.2.1
169 repo_token: ${{ secrets.GITHUB_TOKEN }}
183 repo_token: ${{ secrets.GITHUB_TOKEN }}
170− file: compaREST
184+ file: compaREST-Windows.zip
171− asset_name: compaREST binary – Windows
172 tag: ${{ github.ref }}
185 tag: ${{ github.ref }}