Skip to content

Merge branch 'hotfix-petrzpav' into master-3 #5

Merge branch 'hotfix-petrzpav' into master-3

Merge branch 'hotfix-petrzpav' into master-3 #5

Workflow file for this run

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

View workflow run for this annotation

GitHub Actions / Makefile CI

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 58, Col: 11): The identifier 'upload-release-asset' may not be used more than once within the same scope.
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./*.sh