Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version v1.6.0 #161

Merged
merged 3 commits into from
Jan 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/update-main-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Update Main Version

run-name: Move ${{ github.event.inputs.main_version }} to ${{ github.event.inputs.target }}

on:
workflow_dispatch:
inputs:
target:
description: The tag or reference to use
required: true
main_version:
type: choice
description: The main version to update
options:
- v1

jobs:
tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Git config
run: |
git config user.name github-actions
git config user.email github-actions@github.com

- name: Tag new target
run: git tag -f ${{ github.event.inputs.main_version }} ${{ github.event.inputs.target }}

- name: Push new tag
run: git push origin ${{ github.event.inputs.main_version }} --force
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM crowdin/cli:3.9.3
FROM crowdin/cli:3.10.0

RUN apk --no-cache add curl git git-lfs jq gnupg;

Expand Down
18 changes: 9 additions & 9 deletions EXAMPLES.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/checkout@v3

- name: Synchronize with Crowdin
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: true
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
uses: actions/checkout@v3

- name: Synchronize with Crowdin
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
uses: actions/checkout@v3

- name: Crowdin sync
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
uses: actions/checkout@v3

- name: Crowdin push
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
Expand All @@ -162,7 +162,7 @@ jobs:
uses: actions/checkout@v3

- name: Crowdin push
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
uses: actions/checkout@v3

- name: Crowdin pull
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: false
upload_translations: false
Expand Down Expand Up @@ -224,7 +224,7 @@ jobs:
uses: actions/checkout@v3

- name: Synchronize with Crowdin
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: true
Expand All @@ -251,7 +251,7 @@ jobs:
...

- name: Crowdin
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
config: '.github/crowdin.yml'

Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:
uses: actions/checkout@v3

- name: Matrix
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_sources: false
upload_translations: false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
uses: actions/checkout@v3

- name: crowdin action
uses: crowdin/github-action@1.5.3
uses: crowdin/github-action@v1
with:
upload_translations: true
download_translations: true
Expand Down