Update Italian translations in buzz.po #1561
Workflow file for this run
This file contains hidden or 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: Snapcraft | |
| on: | |
| push: | |
| branches: | |
| - main | |
| tags: | |
| - "*" | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 90 | |
| env: | |
| BUZZ_DISABLE_TELEMETRY: true | |
| outputs: | |
| snap: ${{ steps.snapcraft.outputs.snap }} | |
| steps: | |
| # Ideas from https://github.com/orgs/community/discussions/25678 | |
| - name: Remove unused build tools | |
| run: | | |
| sudo apt-get remove -y '^llvm-.*' | |
| sudo apt-get remove -y 'php.*' | |
| sudo apt-get remove -y azure-cli google-cloud-sdk hhvm google-chrome-stable firefox powershell mono-devel || true | |
| sudo apt-get autoremove -y | |
| sudo apt-get clean | |
| python -m pip cache purge | |
| rm -rf /opt/hostedtoolcache || true | |
| - name: Maximize build space | |
| uses: easimon/maximize-build-space@master | |
| with: | |
| root-reserve-mb: 26000 | |
| swap-size-mb: 1024 | |
| remove-dotnet: 'true' | |
| remove-android: 'true' | |
| remove-haskell: 'true' | |
| remove-codeql: 'true' | |
| remove-docker-images: 'true' | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - uses: snapcore/action-build@v1.3.0 | |
| id: snapcraft | |
| - run: | | |
| sudo apt-get update | |
| sudo apt-get install libportaudio2 libtbb-dev | |
| - run: sudo snap install --devmode *.snap | |
| - run: | | |
| cd $HOME | |
| xvfb-run buzz --version | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: snap | |
| path: ${{ steps.snapcraft.outputs.snap }} | |
| upload-edge: | |
| runs-on: ubuntu-latest | |
| needs: [ build ] | |
| if: github.ref == 'refs/heads/main' | |
| steps: | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: snap | |
| - uses: snapcore/action-publish@v1 | |
| env: | |
| SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
| with: | |
| snap: ${{ needs.build.outputs.snap }} | |
| release: edge | |
| upload-stable: | |
| runs-on: ubuntu-latest | |
| needs: [ build ] | |
| if: startsWith(github.ref, 'refs/tags/') | |
| steps: | |
| - uses: actions/download-artifact@v4 | |
| with: | |
| name: snap | |
| - uses: snapcore/action-publish@v1 | |
| env: | |
| SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }} | |
| with: | |
| snap: ${{ needs.build.outputs.snap }} | |
| release: stable |