Skip to content

Commit bde6bc3

Browse files
committed
[CI] disable macos build
1 parent a45d627 commit bde6bc3

File tree

1 file changed

+26
-15
lines changed

1 file changed

+26
-15
lines changed

.github/workflows/main.yml

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
os: [ macos-13, windows-latest, ubuntu-22.04 ]
13+
# os: [ macos-13, windows-latest, ubuntu-22.04 ] # todo restore macos to latest once python major is updated
14+
os: [windows-latest, ubuntu-22.04 ]
1415
arch: [ x64, arm64 ]
1516
exclude:
1617
- os: macos-13
@@ -124,10 +125,14 @@ jobs:
124125
125126
- name: Compute hashes
126127
id: hashes
128+
# run: |
129+
# echo ::set-output name=octobot_linux_x64_hash::$(openssl sha256 ./OctoBot_linux_x64 | awk '{print $2}')
130+
# echo ::set-output name=octobot_linux_arm64_hash::$(openssl sha256 ./OctoBot_linux_arm64 | awk '{print $2}')
131+
# echo ::set-output name=octobot_macos_x64_hash::$(openssl sha256 ./OctoBot_macos_x64 | awk '{print $2}')
132+
# echo ::set-output name=octobot_windows_x64_hash::$(openssl sha256 ./OctoBot_windows_x64.exe | awk '{print $2}')
127133
run: |
128134
echo ::set-output name=octobot_linux_x64_hash::$(openssl sha256 ./OctoBot_linux_x64 | awk '{print $2}')
129135
echo ::set-output name=octobot_linux_arm64_hash::$(openssl sha256 ./OctoBot_linux_arm64 | awk '{print $2}')
130-
echo ::set-output name=octobot_macos_x64_hash::$(openssl sha256 ./OctoBot_macos_x64 | awk '{print $2}')
131136
echo ::set-output name=octobot_windows_x64_hash::$(openssl sha256 ./OctoBot_windows_x64.exe | awk '{print $2}')
132137
133138
- name: Create Release
@@ -143,15 +148,21 @@ jobs:
143148
draft: true
144149
prerelease: false
145150
commitish: master
151+
# body: |
152+
# | Binary | Download link | SHA256 |
153+
# | ------------- |:-------------:|:-------------:|
154+
# | Windows x64 | [Download](https://github.com/${{ github.repository_owner }}/OctoBot/releases/download/${{ steps.vars.outputs.tag }}/OctoBot_windows_x64.exe) | ${{ steps.hashes.outputs.octobot_windows_x64_hash }} |
155+
# | Linux x64 | [Download](https://github.com/${{ github.repository_owner }}/OctoBot/releases/download/${{ steps.vars.outputs.tag }}/OctoBot_linux_x64) | ${{ steps.hashes.outputs.octobot_linux_x64_hash }} |
156+
# | Linux arm64 | [Download](https://github.com/${{ github.repository_owner }}/OctoBot/releases/download/${{ steps.vars.outputs.tag }}/OctoBot_linux_arm64) | ${{ steps.hashes.outputs.octobot_linux_arm64_hash }} |
157+
# | MacOS x64 | [Download](https://github.com/${{ github.repository_owner }}/OctoBot/releases/download/${{ steps.vars.outputs.tag }}/OctoBot_macos_x64) | ${{ steps.hashes.outputs.octobot_macos_x64_hash }} |
146158
body: |
147159
| Binary | Download link | SHA256 |
148160
| ------------- |:-------------:|:-------------:|
149161
| Windows x64 | [Download](https://github.com/${{ github.repository_owner }}/OctoBot/releases/download/${{ steps.vars.outputs.tag }}/OctoBot_windows_x64.exe) | ${{ steps.hashes.outputs.octobot_windows_x64_hash }} |
150162
| Linux x64 | [Download](https://github.com/${{ github.repository_owner }}/OctoBot/releases/download/${{ steps.vars.outputs.tag }}/OctoBot_linux_x64) | ${{ steps.hashes.outputs.octobot_linux_x64_hash }} |
151163
| Linux arm64 | [Download](https://github.com/${{ github.repository_owner }}/OctoBot/releases/download/${{ steps.vars.outputs.tag }}/OctoBot_linux_arm64) | ${{ steps.hashes.outputs.octobot_linux_arm64_hash }} |
152-
| MacOS x64 | [Download](https://github.com/${{ github.repository_owner }}/OctoBot/releases/download/${{ steps.vars.outputs.tag }}/OctoBot_macos_x64) | ${{ steps.hashes.outputs.octobot_macos_x64_hash }} |
153164
154-
- name: Upload Release Asset
165+
- name: Upload Release Asset - OctoBot_windows_x64
155166
uses: actions/upload-release-asset@v1
156167
env:
157168
GITHUB_TOKEN: ${{ secrets.AUTH_TOKEN }}
@@ -161,7 +172,7 @@ jobs:
161172
asset_name: OctoBot_windows_x64.exe
162173
asset_content_type: application/x-binary
163174

164-
- name: Upload Release Asset
175+
- name: Upload Release Asset - OctoBot_linux_x64
165176
uses: actions/upload-release-asset@v1
166177
env:
167178
GITHUB_TOKEN: ${{ secrets.AUTH_TOKEN }}
@@ -171,7 +182,7 @@ jobs:
171182
asset_name: OctoBot_linux_x64
172183
asset_content_type: application/x-binary
173184

174-
- name: Upload Release Asset
185+
- name: Upload Release Asset - OctoBot_linux_arm64
175186
uses: actions/upload-release-asset@v1
176187
env:
177188
GITHUB_TOKEN: ${{ secrets.AUTH_TOKEN }}
@@ -181,15 +192,15 @@ jobs:
181192
asset_name: OctoBot_linux_arm64
182193
asset_content_type: application/x-binary
183194

184-
- name: Upload Release Asset
185-
uses: actions/upload-release-asset@v1
186-
env:
187-
GITHUB_TOKEN: ${{ secrets.AUTH_TOKEN }}
188-
with:
189-
upload_url: ${{ steps.create_release.outputs.upload_url }}
190-
asset_path: ./OctoBot_macos_x64
191-
asset_name: OctoBot_macos_x64
192-
asset_content_type: application/x-binary
195+
# - name: Upload Release Asset - OctoBot_macos_x64
196+
# uses: actions/upload-release-asset@v1
197+
# env:
198+
# GITHUB_TOKEN: ${{ secrets.AUTH_TOKEN }}
199+
# with:
200+
# upload_url: ${{ steps.create_release.outputs.upload_url }}
201+
# asset_path: ./OctoBot_macos_x64
202+
# asset_name: OctoBot_macos_x64
203+
# asset_content_type: application/x-binary
193204

194205
notify:
195206
name: Notify

0 commit comments

Comments
 (0)