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: mpc core forking for GitHub Actions | |
on: | |
push: | |
branches: | |
- 1.3.1 | |
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/mpc/mpc-1.3.1.tar.gz -O mpc-1.3.1.tar.gz | |
- 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 mpc-1.3.1.tar.gz | |
- 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 mpc-1.3.1.tar.gz | |
git add . | |
git commit -m "mpc core forking for GitHub Actions, version 1.3.1" | |
git push |