update latest update to run and forking #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 Windows extension extractor for GitHub Actions | |
on: | |
push: | |
branches: | |
- 1.4.1-1 | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
download-and-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Install Zstandard for Extraction | |
run: sudo apt install -y xz-utils tar | |
- name: Obtain source code from https://repo.msys2.org/mingw/sources/ | |
run: | | |
wget https://repo.msys2.org/mingw/sources/mingw-w64-dlfcn-1.4.1-1.src.tar.zst -O mingw-w64-dlfcn-1.4.1-1.src.tar.zst | |
- name: Extract Source Code into Root Directory | |
run: tar --strip-components=1 -xf mingw-w64-dlfcn-1.4.1-1.src.tar.zst | |
- 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 mingw-w64-dlfcn-1.4.1-1.src.tar.zst | |
rm .gitignore | |
rm -rf .github/workflows/*.yml | |
git add . | |
git commit -m "GNU Windows extension extractor for GitHub Actions" | |
git push |