Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
propi authored Nov 21, 2024
1 parent 9868cac commit 6e42a56
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,23 @@ jobs:
- name: Make archive
id: make-archive
run: ./pack-release.sh
- name: Create release
- name: Create Release
env:
VERSION: ${{ steps.make-archive.outputs.VERSION }}
run: echo "The selected version is $VERSION"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
id: create_release
uses: actions/create-release@v1
with:
tag_name: ${{ steps.make-archive.outputs.VERSION }}
release_name: RDFRules v${{ steps.make-archive.outputs.VERSION }}
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: ./rdfrules-${{ steps.make-archive.outputs.VERSION }}.zip
asset_name: rdfrules-${{ steps.make-archive.outputs.VERSION }}.zip
asset_content_type: application/zip

0 comments on commit 6e42a56

Please sign in to comment.