增加Windows构建RESTIC PS1脚本,TODO:预计将RESTIC二进制内置在私有目录中执行 #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Bin | |
| on: | |
| push: | |
| paths: | |
| - build/** | |
| pull_request: | |
| paths: | |
| - build/** | |
| workflow_dispatch: | |
| inputs: | |
| jobs: | |
| build: | |
| name: "Build bin" | |
| runs-on: ubuntu-latest | |
| container: registry.gitlab.com/fdroid/fdroidserver:buildserver-bookworm | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: 'recursive' | |
| - name: Build | |
| run: bash -e -x build/build_bin.sh all all 1> /dev/null | |
| - name: Upload | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: Bin | |
| path: '**/build_bin/built_in/**/bin.zip' |