1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-30 19:03:04 +00:00

ci: bump macos-11 to macos-12 in github actions (#6203)

This commit is contained in:
Charles Kerr 2023-11-04 12:33:25 -05:00 committed by GitHub
parent a952a0731f
commit 089c438512
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 7 deletions

View file

@ -227,8 +227,8 @@ jobs:
run: |
if grep 'warning:' makelog; then exit 1; fi
macos-11:
runs-on: macos-11
macos-12:
runs-on: macos-12
needs: [ what-to-make ]
if: ${{ needs.what-to-make.outputs.make-cli == 'true' || needs.what-to-make.outputs.make-daemon == 'true' || needs.what-to-make.outputs.make-gtk == 'true' || needs.what-to-make.outputs.make-mac == 'true' || needs.what-to-make.outputs.make-qt == 'true' || needs.what-to-make.outputs.make-tests == 'true' || needs.what-to-make.outputs.make-utils == 'true' }}
steps:
@ -500,10 +500,10 @@ jobs:
name: source-tarball
path: obj/transmission*.tar.*
macos-11-from-tarball:
macos-12-from-tarball:
needs: [ make-source-tarball, what-to-make ]
if: ${{ needs.what-to-make.outputs.make-cli == 'true' || needs.what-to-make.outputs.make-daemon == 'true' || needs.what-to-make.outputs.make-gtk == 'true' || needs.what-to-make.outputs.make-mac == 'true' || needs.what-to-make.outputs.make-qt == 'true' || needs.what-to-make.outputs.make-tests == 'true' || needs.what-to-make.outputs.make-utils == 'true' }}
runs-on: macos-11
runs-on: macos-12
steps:
- name: Show Configuration
run: |

View file

@ -1216,9 +1216,7 @@ constexpr bool tr_isTorrent(tr_torrent const* tor)
return tor != nullptr && tor->session != nullptr;
}
/**
* Tell the `tr_torrent` that it's gotten a block
*/
// Tell the `tr_torrent` that it's gotten a block
void tr_torrentGotBlock(tr_torrent* tor, tr_block_index_t block);
tr_torrent_metainfo tr_ctorStealMetainfo(tr_ctor* ctor);