Source Upload #449
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
on: | |
workflow_dispatch: | |
name: Source Upload | |
jobs: | |
upload: | |
name: Upload | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ScratchAddons/website-i18n | |
uses: actions/checkout@v4 | |
- name: Execute script | |
run: | | |
echo Running... | |
wget https://github.com/transifex/cli/releases/download/v1.6.10/tx-linux-amd64.tar.gz -O ${RUNNER_TEMP}/tx.tar.gz | |
tar -zxvf ${RUNNER_TEMP}/tx.tar.gz -C ${RUNNER_TEMP} | |
shopt -s expand_aliases | |
alias tx="${RUNNER_TEMP}/tx" | |
tx push --source --use-git-timestamps --skip | |
env: | |
TX_TOKEN: ${{ secrets.TX_TOKEN }} |