whataever #5
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: Convert Pacscripts to 5.0.0 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
jobs: | |
convert-pacscripts: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Fetch Upstream | |
run: | | |
git remote add upstream https://github.com/pacstall/pacstall-programs | |
git fetch upstream | |
git checkout upstream/master | |
- name: Convert | |
run: | | |
bash -c "$(curl -fsSL https://raw.githubusercontent.com/oklopfer/pacstall-programs/5.0.0-converter/conv.sh)" \ | |
&& echo "Success!" | |
- name: Commit and Push | |
run: | | |
git add packages/*/*.pacscript | |
git commit -m "refactor(*)!: convert pacscripts to \`5.0.0\` format" | |
git push origin HEAD:5.0.0-master --force |