Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump anyhow from 1.0.75 to 1.0.76 #3

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ jobs:
uses: vishnudxb/[email protected]
if: failure()
with:
repo: hack-ink/<NAME>
repo: hack-ink/air
workflow_id: ${{ github.run_id }}
access_token: ${{ github.token }}
34 changes: 0 additions & 34 deletions .github/workflows/pages.yml

This file was deleted.

27 changes: 3 additions & 24 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,28 +32,18 @@ jobs:
run: cargo build --profile ci-release --locked --target ${{ matrix.target.name }}
- name: Compress
run: |
mv target/${{ matrix.target.name }}/ci-release/<NAME>${{ matrix.target.extension }} .
zstd --ultra -22 -o <NAME>-${{ matrix.target.name }}.zst <NAME>${{ matrix.target.extension }}
mv target/${{ matrix.target.name }}/ci-release/air${{ matrix.target.extension }} .
zstd --ultra -22 -o air-${{ matrix.target.name }}.zst air${{ matrix.target.extension }}
- name: Collect artifact
run: |
mkdir -p artifacts
mv <NAME>-${{ matrix.target.name }}.zst artifacts
mv air-${{ matrix.target.name }}.zst artifacts
- name: Upload artifact
uses: actions/[email protected]
with:
name: artifacts
path: artifacts

release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Publish
uses: softprops/action-gh-release@v1
with:
discussion_category_name: Announcements
generate_release_notes: true

release:
name: Release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -89,17 +79,6 @@ jobs:
- name: Publish
run: cargo publish --locked

publish-on-crates-io:
name: Publish on crates.io
runs-on: ubuntu-latest
steps:
- name: Fetch latest code
uses: actions/checkout@v4
- name: Login
run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
- name: Publish
run: .maintain/release.sh

clean-artifacts:
name: Clean artifacts
if: always()
Expand Down
39 changes: 9 additions & 30 deletions .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,18 @@ jobs:
run: cargo build --profile ci-release --locked --target ${{ matrix.target.name }}
- name: Compress
run: |
mv target/${{ matrix.target.name }}/ci-release/<NAME>${{ matrix.target.extension }} .
zstd --ultra -22 -o <NAME>-${{ matrix.target.name }}.zst <NAME>${{ matrix.target.extension }}
mv target/${{ matrix.target.name }}/ci-release/air${{ matrix.target.extension }} .
zstd --ultra -22 -o air-${{ matrix.target.name }}.zst air${{ matrix.target.extension }}
- name: Collect artifact
run: |
mkdir -p artifacts
mv <NAME>-${{ matrix.target.name }}.zst artifacts
mv air-${{ matrix.target.name }}.zst artifacts
- name: Upload artifact
uses: actions/[email protected]
with:
name: artifacts
path: artifacts

staging:
name: Staging
runs-on: ubuntu-latest
steps:
- name: Publish
uses: softprops/action-gh-release@v1
with:
discussion_category_name: Announcements
generate_release_notes: true

staging:
name: Staging
runs-on: ubuntu-latest
Expand All @@ -69,12 +59,12 @@ jobs:
md5sum * | tee ../MD5
mv ../SHA256 .
mv ../MD5 .
- name: Publish
uses: softprops/action-gh-release@v1
with:
discussion_category_name: Announcements
generate_release_notes: true
files: artifacts/*
# - name: Publish
# uses: softprops/action-gh-release@v1
# with:
# discussion_category_name: Announcements
# generate_release_notes: true
# files: artifacts/*

# publish-on-crates-io:
# name: Publish on crates.io
Expand All @@ -87,17 +77,6 @@ jobs:
# - name: Publish
# run: cargo publish --locked

# publish-on-crates-io:
# name: Publish on crates.io
# runs-on: ubuntu-latest
# steps:
# - name: Fetch latest code
# uses: actions/checkout@v4
# - name: Login
# run: cargo login ${{ secrets.CARGO_REGISTRY_TOKEN }}
# - name: Publish
# run: .maintain/release.sh

clean-artifacts:
name: Clean artifacts
if: always()
Expand Down
Loading
Loading