Skip to content

feat: sync develop with newest 7.x version changes #14

feat: sync develop with newest 7.x version changes

feat: sync develop with newest 7.x version changes #14

Workflow file for this run

name: Build and test snap
on:
pull_request:
branches: '**'
jobs:
variables:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.vars.outputs.tag }}
steps:
- uses: actions/checkout@v3
- id: vars
shell: bash
run: |
tag="$(awk -F: '/version/ { print $2 }' snap/snapcraft.yaml | tr -d '[:space:]')"
echo "tag: $tag"
echo "tag=$tag" >> $GITHUB_OUTPUT
build-and-test:
# uses: RocketChat/server-snap/.github/workflows/test.yml@${{ github.head_ref || github.ref_name }}
uses: RocketChat/server-snap/.github/workflows/[email protected]
needs: [variables]
with:
tag: ${{ needs.variables.outputs.tag }}
test-only: 'true'
secrets:
snapcraft-credential: ${{ secrets.snapcraft-credential }}