Update ru/ff2_rewrite.phrases.txt (#196) [M] #188
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: Package | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: main | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: "contains(github.event.head_commit.message, '[')" | |
steps: | |
- name: Install Checkout | |
uses: actions/checkout@v1 | |
- name: Install Setup SP | |
uses: rumblefrog/setup-sp@master | |
with: | |
version: '1.11.x' | |
- name: Get GitHub Env | |
run: | | |
echo "PLUGIN_VERSION_REVISION<<EOF" >> $GITHUB_ENV | |
git rev-list --count HEAD >> $GITHUB_ENV | |
echo 'EOF' >> $GITHUB_ENV | |
- name: Install Misc | |
run: | | |
bash scripts/setup.sh | |
bash scripts/optional.sh | |
working-directory: ./ | |
- name: Full Compile | |
run: | | |
mkdir -p plugins | |
spcomp -E -O2 -v2 -i "include" -o "plugins/freak_fortress_2" freak_fortress_2.sp | |
spcomp -E -O2 -v2 -i "include" -o "plugins/ff2r_default_abilities" ff2r_default_abilities.sp | |
spcomp -E -O2 -v2 -i "include" -o "plugins/ff2r_epic_abilities" ff2r_epic_abilities.sp | |
spcomp -E -O2 -v2 -i "include" -o "plugins/ff2r_menu_abilities" ff2r_menu_abilities.sp | |
working-directory: ${{ env.SCRIPTS_PATH }} | |
- name: Setup Package | |
run: bash scripts/package.sh | |
- name: Package Full | |
uses: montudor/[email protected] | |
if: "contains(github.event.head_commit.message, '[M]')" | |
with: | |
args: zip -qq -r New-Install-Package-${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}}.zip New-Install-Package | |
- name: Package Update | |
uses: montudor/[email protected] | |
if: "contains(github.event.head_commit.message, '[M]')" | |
with: | |
args: zip -qq -r Update-Package-${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}}.zip Update-Package | |
- name: Package Epic Scout | |
uses: montudor/[email protected] | |
if: "contains(github.event.head_commit.message, '[E]')" | |
with: | |
args: zip -qq -r Epic-Scout-${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}}.zip Epic-Scout | |
- name: Release | |
uses: softprops/action-gh-release@master | |
with: | |
tag_name: ${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}} | |
files: | | |
New-Install-Package-${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}}.zip | |
Update-Package-${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}}.zip | |
Epic-Scout-${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}}.zip | |
nonrelease: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, '[')" | |
steps: | |
- name: Install Checkout | |
uses: actions/checkout@v1 | |
- name: Install Setup SP | |
uses: rumblefrog/setup-sp@master | |
with: | |
version: '1.11.x' | |
- name: Get GitHub Env | |
run: | | |
echo "PLUGIN_VERSION_REVISION<<EOF" >> $GITHUB_ENV | |
git rev-list --count HEAD >> $GITHUB_ENV | |
echo 'EOF' >> $GITHUB_ENV | |
- name: Install Misc | |
run: | | |
bash scripts/setup.sh | |
bash scripts/optional.sh | |
working-directory: ./ | |
- name: Full Compile | |
run: | | |
mkdir -p plugins | |
spcomp -E -O2 -v2 -i "include" -o "plugins/freak_fortress_2" freak_fortress_2.sp | |
spcomp -E -O2 -v2 -i "include" -o "plugins/ff2r_default_abilities" ff2r_default_abilities.sp | |
spcomp -E -O2 -v2 -i "include" -o "plugins/ff2r_epic_abilities" ff2r_epic_abilities.sp | |
spcomp -E -O2 -v2 -i "include" -o "plugins/ff2r_menu_abilities" ff2r_menu_abilities.sp | |
working-directory: ${{ env.SCRIPTS_PATH }} | |
- name: Setup Package | |
run: bash scripts/package.sh | |
- name: Upload Full | |
uses: actions/upload-artifact@master | |
with: | |
name: New-Install-Package-${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}} | |
path: ./New-Install-Package | |
- name: Upload Update | |
uses: actions/upload-artifact@master | |
with: | |
name: Update-Package-${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}} | |
path: ./Update-Package | |
- name: Upload Epic Scout | |
uses: actions/upload-artifact@master | |
with: | |
name: Epic-Scout-${{env.PLUGIN_VERSION}}.${{env.PLUGIN_VERSION_REVISION}} | |
path: ./Epic-Scout |