Skip to content

Commit

Permalink
fix: use required ref in CI workflow (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
José Molina Colmenero authored Sep 18, 2023
1 parent e954525 commit 9518cdd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
RUSTFLAGS: "-C target-cpu=${{ matrix.cpu }}"
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref }}
- name: Install protoc
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
steps:
- name: Check out the repo
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.ref }}

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand All @@ -27,4 +29,4 @@ jobs:
file: docker/watr-parachain.Dockerfile
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}
2 changes: 1 addition & 1 deletion .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
override: true
components: rustfmt, clippy

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up cargo cache
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/try-runtime-devnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
components: rustfmt, clippy

- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up cargo cache
uses: actions/cache@v3
Expand Down

0 comments on commit 9518cdd

Please sign in to comment.