-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 1019 Bytes
/
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 Debugger core forking for GitHub Actions
on:
push:
branches:
- no-available-just-rename-in-case-you-want
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/gdb/gdb-15.1.tar.xz -O gdb-15.1.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 gdb-15.1.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 gdb-15.1.tar.xz
git add .
git commit -m "GNU Debugger core forking for GitHub Actions, version 15.1.0"
git push