missing ru changelog #27
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
# Create a zip with the english texts | |
name: Create zip with english texts | |
# When pushing to the master branch | |
on: | |
push: | |
branches: | |
- master | |
# parameters | |
env: | |
TAG: latest | |
ZIP: translation_files.zip | |
# Workflow in ubuntu | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get the repository files | |
uses: actions/checkout@v3 | |
- name: Create ${{ env.ZIP }} with the relevant files | |
run: > | |
zip ${{ env.ZIP }} | |
README.md | |
PlayStore/README.md | |
PlayStore/en-GB.xml | |
PlayStore_donation/README.md | |
PlayStore_donation/en-GB.xml | |
res/README.md | |
res/values/strings.xml | |
res/raw/countries_name.txt | |
res/raw/changelog.txt | |
- name: Update ${{ env.TAG }} tag to current commit | |
# equivalent to EndBug/latest-tag@latest but simpler | |
run: | | |
git tag --force ${{ env.TAG }} | |
git push --force origin tag ${{ env.TAG }} | |
- name: Upload ${{ env.ZIP }} to ${{ env.TAG }} release | |
uses: softprops/action-gh-release@v1 | |
with: | |
tag_name: ${{ env.TAG }} | |
files: ${{ env.ZIP }} |