added getTickLogRanges (quick catch-up for identities) #15
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: Release | |
| on: | |
| push: | |
| tags: ["*"] | |
| env: | |
| RELEASE_BUILD_DIR: "build" | |
| BUILD_CONFIGURATION: "Release" | |
| jobs: | |
| build-linux: | |
| uses: ./.github/workflows/linux-build.yml | |
| with: | |
| configuration: Release | |
| build_dir: build | |
| publish-linux: | |
| needs: build-linux | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download Linux build artifact | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: BobLinuxBuild-${{ env.BUILD_CONFIGURATION }} | |
| path: ${{ env.RELEASE_BUILD_DIR }} | |
| - name: Create release package | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| name: "BOB ${{ github.ref_name }}" | |
| body: "Automated release of Bob version ${{ github.ref_name }}" | |
| files: ${{ env.RELEASE_BUILD_DIR }}/bob | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| publish-docker: | |
| needs: build-linux | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Build Docker image | |
| run: | | |
| docker build -t qubiccore/bob:latest -f docker/Dockerfile . | |
| docker tag qubiccore/bob:latest qubiccore/bob:${{ github.ref_name }} | |
| - name: Log in to Docker Hub | |
| run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin | |
| - name: Push Docker images | |
| run: | | |
| docker push qubiccore/bob:latest | |
| docker push qubiccore/bob:${{ github.ref_name }} |