Skip to content

Update core.yml

Update core.yml #4

Workflow file for this run

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 zstd 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
- name: Extract Source Code into Root Directory
run: |
tar --strip-components=1 -xf mingw-w64-dlfcn-1.4.1-1.src.tar.zst
tar --strip-components=1 -xf mingw-w64-dlfcn-1.4.1-1.src.tar
- 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 mingw-w64-dlfcn-1.4.1-1.src.tar
rm .gitignore || true
rm -rf .github/workflows/*.yml || true
git add .
git commit -m "GNU Windows extension extractor for GitHub Actions"
git push