Merge branch 'hotfix-petrzpav' into master-3 #5
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
name: Makefile CI | ||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install requirements | ||
run: sudo apt install -y python3-docutils | ||
- name: configure | ||
run: ./configure | ||
- name: Make dist | ||
run: make dist | ||
- name: Make distsingle | ||
run: make distsingle | ||
- name: Retrieve changes | ||
run: | | ||
EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) | ||
echo "JSON_RESPONSE<<$EOF" >> "$GITHUB_ENV" | ||
./scripts/changelog-latest CHANGELOG.md >> "$GITHUB_ENV" | ||
curl https://example.com >> "$GITHUB_ENV" | ||
echo "$EOF" >> "$GITHUB_ENV" | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
body: ${{ env.CHANGES }} | ||
draft: false | ||
prerelease: false | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./*.tar.gz | ||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
Check failure on line 58 in .github/workflows/release.yml GitHub Actions / Makefile CIInvalid workflow file
|
||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./*.sh | ||