Skip to content

Commit

Permalink
smoke
Browse files Browse the repository at this point in the history
  • Loading branch information
thesayyn committed Sep 24, 2024
1 parent fdbcdf7 commit a98f2d5
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 28 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ jobs:
- uses: actions/checkout@v4
# Bootstrap: the first time we release for windows, we don't have a windows version of Aspect CLI to build with
# So use environment variables to defeat the .bazeliskrc file.
- run: bazel build //:for_all_platforms
- run: bazel build @com_github_smacker_go_tree_sitter//python
- run: cp $(bazel cquery --output=files //:for_all_platforms) aspect_windows_amd64.exe
- run: bazel build //:for_all_platforms
- run: cp bazel-out/x64_windows-fastbuild-ST-2c60814c3ef7/bin/cmd/aspect/aspect_/aspect.exe aspect_windows_amd64.exe
- name: smoke test
run: |
aspect_windows_amd64.exe --help
run: ./aspect_windows_amd64.exe --help
- uses: actions/upload-artifact@v4
id: upload
with:
Expand Down
48 changes: 24 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@ on:
tags:
- '5.*.*'
jobs:
build_all:
uses: ./.github/workflows/build.yaml
release:
runs-on: ubuntu-latest
needs: build_all
steps:
- uses: actions/download-artifact@v4
with:
merge-multiple: true
- run: shasum -a 256 aspect* > SHA256.txt
- name: Prepare workspace snippet
run: .github/workflows/install_snippet.sh > release_notes.txt
- run: ls -alF .
# Disabled during testing
- if: false
name: Create GitHub draft release and upload artifacts
uses: softprops/action-gh-release@v2
with:
# Use GH feature to populate the changelog automatically
generate_release_notes: true
body_path: release_notes.txt
files: |
aspect*
SHA256.txt
# build_all:
# uses: ./.github/workflows/build.yaml
# release:
# runs-on: ubuntu-latest
# needs: build_all
# steps:
# - uses: actions/download-artifact@v4
# with:
# merge-multiple: true
# - run: shasum -a 256 aspect* > SHA256.txt
# - name: Prepare workspace snippet
# run: .github/workflows/install_snippet.sh > release_notes.txt
# - run: ls -alF .
# # Disabled during testing
# - if: false
# name: Create GitHub draft release and upload artifacts
# uses: softprops/action-gh-release@v2
# with:
# # Use GH feature to populate the changelog automatically
# generate_release_notes: true
# body_path: release_notes.txt
# files: |
# aspect*
# SHA256.txt

0 comments on commit a98f2d5

Please sign in to comment.