This repository has been archived by the owner on Jan 16, 2024. It is now read-only.
bundle binaries #11
This file contains 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: bundle binaries | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Prepare git | |
run: | | |
git config --global core.autocrlf false | |
git config --global user.email '[email protected]' | |
git config --global user.name 'Jeroen Ooms (via CI)' | |
- uses: actions/checkout@v3 | |
- uses: r-windows/install-rtools@master | |
- id: download | |
name: Download libraries | |
run: | | |
cd $(cygpath ${GITHUB_WORKSPACE}) | |
.github/workflows/bundle.sh | |
shell: c:\rtools40\usr\bin\bash.exe --login {0} | |
- name: Push binaries | |
run: | | |
version=${{ steps.download.outputs.VERSION }} | |
git add README.md include lib* | |
git commit -m "Bundle $version ($(date +%F))" || exit 0 | |
git tag $version | |
git push origin master $version | |
shell: bash |