mirror of
https://github.com/fluencelabs/sqlite-wasm-connector
synced 2025-04-24 16:32:12 +00:00
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [hashicorp/vault-action](https://togithub.com/hashicorp/vault-action) | action | patch | `v2.8.0` -> `v2.8.1` | --- ### Release Notes <details> <summary>hashicorp/vault-action (hashicorp/vault-action)</summary> ### [`v2.8.1`](https://togithub.com/hashicorp/vault-action/releases/tag/v2.8.1) [Compare Source](https://togithub.com/hashicorp/vault-action/compare/v2.8.0...v2.8.1) ##### 2.8.1 (February 15, 2024) Bugs: - Revert [GH-509](https://togithub.com/hashicorp/vault-action/pull/509) which made a backwards incompatible bump of the node runtime from node16 to node20 [GH-527](https://togithub.com/hashicorp/vault-action/pull/527) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/fluencelabs/sqlite-wasm-connector). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjE3My4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
84 lines
2.1 KiB
YAML
84 lines
2.1 KiB
YAML
name: Publish snapshots
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
ref:
|
|
description: "GitHub ref to checkout to"
|
|
type: string
|
|
default: "master"
|
|
outputs:
|
|
version:
|
|
description: "snapshot version"
|
|
value: ${{ jobs.snapshot.outputs.version }}
|
|
|
|
jobs:
|
|
snapshot:
|
|
name: "Publish snapshot"
|
|
runs-on: builder
|
|
timeout-minutes: 60
|
|
|
|
outputs:
|
|
version: "${{ steps.snapshot.outputs.version }}"
|
|
|
|
permissions:
|
|
contents: read
|
|
id-token: write
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: fluencelabs/sqlite-wasm-connector
|
|
ref: ${{ inputs.ref }}
|
|
|
|
- name: Import secrets
|
|
uses: hashicorp/vault-action@v2.8.1
|
|
with:
|
|
url: https://vault.fluence.dev
|
|
path: jwt/github
|
|
role: ci
|
|
method: jwt
|
|
jwtGithubAudience: "https://github.com/fluencelabs"
|
|
jwtTtl: 300
|
|
exportToken: false
|
|
secrets: |
|
|
kv/cargo-registry/users/ci token | CARGO_REGISTRIES_FLUENCE_TOKEN
|
|
|
|
- name: Setup Rust toolchain
|
|
uses: dsherret/rust-toolchain-file@v1
|
|
|
|
- name: Setup cache
|
|
uses: Swatinem/rust-cache@v2
|
|
with:
|
|
shared-key: sqlite-wasm-connector
|
|
# github allows only 10GB of cache
|
|
# so save cache only on merge to master
|
|
# to use less space and speed up CI
|
|
save-if: ${{ github.event_name == 'push' }}
|
|
|
|
- name: Setup marine
|
|
uses: fluencelabs/setup-marine@v1
|
|
with:
|
|
artifact-name: marine
|
|
|
|
- name: Download sqlite-wasm
|
|
uses: actions/download-artifact@v4
|
|
continue-on-error: true
|
|
with:
|
|
name: sqlite-wasm
|
|
path: artifacts/
|
|
|
|
- name: Build
|
|
run: ./build.sh
|
|
|
|
- name: Generate snapshot version
|
|
id: version
|
|
uses: fluencelabs/github-actions/generate-snapshot-id@main
|
|
|
|
- name: Publish snapshot
|
|
uses: fluencelabs/github-actions/cargo-publish-snapshot@main
|
|
id: snapshot
|
|
with:
|
|
id: ${{ steps.version.outputs.id }}
|