lxc-docker: ensure a unique WATCHTOWER_HTTP_API_TOKEN is used every l… #276
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
name: Test | |
on: | |
push: | |
branches: ["main"] | |
paths: ["install/**", ".github/workflows/test.yml"] | |
pull_request: | |
paths: ["install/**", ".github/workflows/test.yml"] | |
workflow_dispatch: | |
jobs: | |
test_local: | |
name: Test local installation on ${{ matrix.runner }} | |
runs-on: ${{ matrix.runner }} | |
strategy: | |
fail-fast: false | |
matrix: | |
runner: [ubuntu-latest, macos-14, macos-13, windows-latest] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Parse latest server release | |
id: parse_server | |
shell: bash | |
run: | | |
VERSION=$(cat ./server/package-lock.json | jq -r '.version') | |
echo "version=$VERSION" >> "$GITHUB_OUTPUT" | |
echo "Will test @scrypted/server@$VERSION" | |
- name: Install scrypted server | |
uses: scryptedapp/[email protected] | |
with: | |
branch: ${{ github.sha }} | |
version: ${{ steps.parse_server.outputs.version }} |