-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 1.02 KB
/
core.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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