Skip to content

Commit

Permalink
updated CI to use crate instead of package
Browse files Browse the repository at this point in the history
  • Loading branch information
Bullrich committed May 28, 2024
1 parent a3bdb89 commit e8bdcec
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,22 @@ jobs:
test-image:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- name: Check that the image builds
run: docker build . --file Dockerfile

test-versions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- name: Extract package.json version
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- run: pip install toml-cli
- name: Extract crate version
id: package_version
run: echo "VERSION=$(jq '.version' -r package.json)" >> $GITHUB_OUTPUT
run: echo "VERSION=$(toml get --toml-path Cargo.toml package.version)" >> $GITHUB_OUTPUT
- name: Extract action.yml version
uses: mikefarah/yq@master
id: action_image
Expand Down

0 comments on commit e8bdcec

Please sign in to comment.