Bugfix: Restore verbosity setting #66
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/release.yml | |
on: | |
release: | |
types: [created, edited] | |
jobs: | |
release: | |
name: release ${{ matrix.target }} | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
target: [x86_64-unknown-linux-musl] | |
steps: | |
- name: what is in the box | |
run: | | |
echo "payload" ${{ github.event}} | |
- name: what is in the box part 2 | |
run: | | |
echo "payload" ${{ github.event.release}} | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.release.tag_name }} | |
- name: Compile and release | |
uses: rust-build/rust-build.action@latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
RUSTTARGET: ${{ matrix.target }} | |
EXTRA_FILES: "README.md LICENSE" | |
ARCHIVE_TYPES: "tar.gz" | |
- name: tell release flake | |
run: | | |
curl \ | |
-X POST \ | |
-H "Accept: application/vnd.github+json" \ | |
-H "Authorization: Bearer ${{ secrets.ANYSNAKE2_RELASE_FLAKE_SECRET }}" \ | |
https://api.github.com/repos/TyberiusPrime/anysnake2_release_flakes/dispatches \ | |
-d '{"event_type":"on-demand-test","client_payload":{"release_version":"${{ github.event.release.tag_name }}"}}' | |