Skip to content

Commit

Permalink
hopefully fix release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Dec 16, 2020
1 parent 848c3ed commit 7c40f95
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:

- name: Get the release version from the tag
if: env.ARTIFACT_VERSION == ''
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true # this is the quick fix because we don't actually log anything secret.
run: |
# Apparently, this is the right way to get a tag name. Really?
#
Expand Down Expand Up @@ -135,6 +137,8 @@ jobs:
target: ${{ matrix.target }}

- name: Use Cross
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true # this is the quick fix because we don't actually log anything secret.
run: |
# FIXME: to work around bugs in latest cross release, install master.
# ME: Still needed? Issue seems closed
Expand All @@ -157,6 +161,8 @@ jobs:
path: artifacts

- name: Set release upload URL and release version
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true # this is the quick fix because we don't actually log anything secret.
shell: bash
run: |
release_upload_url="$(cat artifacts/release-upload-url)"
Expand Down Expand Up @@ -184,6 +190,8 @@ jobs:
- name: Build archive
shell: bash
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true # this is the quick fix because we don't actually log anything secret.
run: |
staging="${{ env.BIN_NAME }}-${{ env.RELEASE_VERSION }}-${{ matrix.target }}"
mkdir -p "$staging"
Expand Down

0 comments on commit 7c40f95

Please sign in to comment.