Update core.yml #2
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: NASM core forking for GitHub Actions | |
on: | |
push: | |
branches: | |
- 2.15.05rc2 | |
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 github.com | |
run: | | |
wget https://github.com/netwide-assembler/nasm/archive/refs/tags/nasm-2.15.05rc2.tar.gz -O nasm-2.15.05rc2.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 nasm-2.15.05rc2.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 nasm-2.15.05rc2.tar.gz | |
rm .gitignore | |
git add . | |
git commit -m "NASM core forking for GitHub Actions, version 2.15.05rc2" | |
git push |