Update and rename blank.yml to core.yml #1
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: GNU Multiple Precision Arithmetic Library core forking for GitHub Actions | |
on: | |
push: | |
branches: | |
- 6.3.0 | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
download-and-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Obtain source code from ftp.gnu.org | |
run: | | |
wget https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz -O gmp-6.3.0.tar.xz | |
- name: Install Zstandard for Extraction | |
run: sudo apt install -y xz-utils tar | |
- name: Extract Source Code into Root Directory | |
run: tar --strip-components=1 -xf gmp-6.3.0.tar.xz | |
- name: Commit Changes | |
run: | | |
git config --local user.name "github-actions[bot]" | |
git config --local user.email "github-actions[bot]@users.noreply.github.com" | |
rm gmp-6.3.0.tar.xz | |
git add . | |
git commit -m "GNU Multiple Precision Arithmetic Library core forking for GitHub Actions, version 14.2.0" | |
git push |