Skip to content

Commit

Permalink
Extract version again
Browse files Browse the repository at this point in the history
  • Loading branch information
owickstrom committed Nov 5, 2022
1 parent 8aba39c commit e8740c2
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- run: nix show-config
- run: nix-env -f '<nixpkgs>' -i nix-build-uncached
- run: |
- name: Extract version
run: |
version=$(nix-shell -p yj --command "yj -tj < pyproject.toml | jq -r '.tool.poetry.version'")
echo "version=$version" >> $GITHUB_ENV
echo "Version: $version"
Expand Down Expand Up @@ -61,6 +62,11 @@ jobs:
with:
name: quickstrom
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: Extract version
run: |
version=$(nix-shell -p yj --command "yj -tj < pyproject.toml | jq -r '.tool.poetry.version'")
echo "version=$version" >> $GITHUB_ENV
echo "Version: $version"
- run: docker login --username botstrom --password "$DOCKER_HUB_ACCESS_TOKEN"
if: github.ref == 'refs/heads/main'
env:
Expand Down

0 comments on commit e8740c2

Please sign in to comment.