Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 2 additions & 25 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
${{ steps.set-image-name.outputs.image-name }}:ubuntu-jammy-${{ steps.set-image-name.outputs.kmir-version }}
${{ steps.set-image-name.outputs.image-name }}:ubuntu-jammy-latest

# Only the Docker job gates tagging; rollback the draft if the primary artifact never shipped.
- name: 'On failure, delete drafted release'
if: failure()
env:
Expand Down Expand Up @@ -141,18 +142,6 @@ jobs:
DRV=$(nix-store --query --deriver ${KMIR})
nix-store --query --requisites --include-outputs ${DRV} | cachix push k-framework

- name: 'On failure, delete drafted release'
if: failure()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -x
VERSION=v$(cat package/version)
gh release delete ${VERSION} \
--repo runtimeverification/mir-semantics \
--yes \
--cleanup-tag

nix-binary-cache:
name: 'Populate Nix Binary Cache'
strategy:
Expand All @@ -179,16 +168,4 @@ jobs:
kup publish k-framework-binary .#kmir.rust --keep-days 180 || true

# Cachix has not been responding to 'cachix pin' requests made under the hood by kup. So we need to manually verify the push and pin.
.github/scripts/check-cachix-pin.sh

- name: 'On failure, delete drafted release'
if: failure()
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -x
VERSION=v$(cat package/version)
gh release delete ${VERSION} \
--repo runtimeverification/mir-semantics \
--yes \
--cleanup-tag
.github/scripts/check-cachix-pin.sh
Loading