mirror of
https://github.com/transmission/transmission
synced 2025-03-19 18:25:38 +00:00
ci: bump macos-11 to macos-12 in github actions (#6203)
This commit is contained in:
parent
a952a0731f
commit
089c438512
2 changed files with 5 additions and 7 deletions
8
.github/workflows/actions.yml
vendored
8
.github/workflows/actions.yml
vendored
|
@ -227,8 +227,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
if grep 'warning:' makelog; then exit 1; fi
|
if grep 'warning:' makelog; then exit 1; fi
|
||||||
|
|
||||||
macos-11:
|
macos-12:
|
||||||
runs-on: macos-11
|
runs-on: macos-12
|
||||||
needs: [ what-to-make ]
|
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' }}
|
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:
|
steps:
|
||||||
|
@ -500,10 +500,10 @@ jobs:
|
||||||
name: source-tarball
|
name: source-tarball
|
||||||
path: obj/transmission*.tar.*
|
path: obj/transmission*.tar.*
|
||||||
|
|
||||||
macos-11-from-tarball:
|
macos-12-from-tarball:
|
||||||
needs: [ make-source-tarball, what-to-make ]
|
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' }}
|
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:
|
steps:
|
||||||
- name: Show Configuration
|
- name: Show Configuration
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -1216,9 +1216,7 @@ constexpr bool tr_isTorrent(tr_torrent const* tor)
|
||||||
return tor != nullptr && tor->session != nullptr;
|
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);
|
void tr_torrentGotBlock(tr_torrent* tor, tr_block_index_t block);
|
||||||
|
|
||||||
tr_torrent_metainfo tr_ctorStealMetainfo(tr_ctor* ctor);
|
tr_torrent_metainfo tr_ctorStealMetainfo(tr_ctor* ctor);
|
||||||
|
|
Loading…
Add table
Reference in a new issue