Skip to content

Commit

Permalink
Once again, I am asking to fix the release pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinswiber committed Aug 1, 2022
1 parent f348f47 commit d76124b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
run: echo "${{ steps.release.outputs.upload_url }}" > artifacts/release-upload-url

- name: Save version number to artifact
run: echo "${{ env.POSTMAN2OPENAPI_VERSION }}" > artifacts/release-version
run: echo "$POSTMAN2OPENAPI_VERSION" > artifacts/release-version

- name: Upload artifacts
uses: actions/upload-artifact@v1
Expand Down Expand Up @@ -139,9 +139,9 @@ jobs:
- name: Show command used for Cargo
run: |
echo "cargo command is: ${{ env.CARGO }}"
echo "target flag is: ${{ env.TARGET_FLAGS }}"
echo "target dir is: ${{ env.TARGET_DIR }}"
echo "cargo command is: $CARGO"
echo "target flag is: $TARGET_FLAGS"
echo "target dir is: $TARGET_DIR"
- name: Get release download URL
uses: actions/download-artifact@v1
Expand All @@ -161,7 +161,7 @@ jobs:
echo "release version: $RELEASE_VERSION"
- name: Build release binary
run: ${{ env.CARGO }} build --verbose --features binary --release ${{ env.TARGET_FLAGS }}
run: $CARGO build --verbose --features binary --release $TARGET_FLAGS

- name: Strip release binary (linux and macos)
if: matrix.build == 'linux' || matrix.build == 'macos'
Expand All @@ -170,8 +170,8 @@ jobs:
- name: Build archive
shell: bash
run: |
outdir="$(ci/cargo-out-dir "${{ env.TARGET_DIR }}")"
staging="postman2openapi-${{ env.RELEASE_VERSION }}-${{ matrix.target }}"
outdir="$(ci/cargo-out-dir "$TARGET_DIR")"
staging="postman2openapi-$RELEASE_VERSION-${{ matrix.target }}"
mkdir "$staging"/
cp {README.md,LICENSE} "$staging/"
Expand Down

0 comments on commit d76124b

Please sign in to comment.