Skip to content

Commit

Permalink
[release]: v0.3.0+beta
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcarlotta committed Sep 18, 2024
1 parent 16489d2 commit adc7687
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
toolchain:
- {runs_on: ubuntu-latest, name: "Linux x86_64", archive_name: "linux-x86_64"}
- {runs_on: macos-11, name: "macOS x86_64", archive_name: "macos-x86_64"}
- {runs_on: macos-12, name: "macOS x86_64", archive_name: "macos-x86_64"}
- {runs_on: macos-14, name: "macOS AArch64", archive_name: "macos-aarch64"}

steps:
Expand All @@ -40,7 +40,7 @@ jobs:
if: ${{ matrix.toolchain.archive_name != 'linux-x86_64' }}
run: brew install pandoc

- name: format Assets
- name: Format Assets
run: cargo fmt --verbose --all --check

- name: Lint Assets
Expand All @@ -52,8 +52,8 @@ jobs:
cd docs
pandoc --standalone --to man nvi.1.md -o nvi.1
- name: Run Tests
run: cargo test
# - name: Run Tests
# run: cargo test

- name: Compress Assets
run: |
Expand Down Expand Up @@ -87,7 +87,9 @@ jobs:
- uses: actions/download-artifact@v4

- name: Set Tag Name
run: TAG_NAME=${{ github.ref }}
run: |
TAG_NAME=${{ github.ref }}
echo "TAG_NAME=${TAG_NAME#refs/tags/}" >> $GITHUB_ENV
- name: Publish Release
run: gh release create $TAG_NAME --generate-notes --title "$TAG_NAME" --target $GITHUB_SHA nvi-macos-x86_64/* nvi-macos-aarch64/* nvi-linux-x86_64/*

0 comments on commit adc7687

Please sign in to comment.