Skip to content

Commit

Permalink
Update github-release.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Cyril Vrousos <[email protected]>
  • Loading branch information
cyrilvrousos-tas authored Nov 17, 2023
1 parent 927bdc2 commit bff9fd7
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,16 +55,14 @@ jobs:
draft: true
prerelease: false
- name: Upload P2 repository
uses: cyrilvrousos-tas/upload-release-asset@v1
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ${{ github.workspace }}/org.eclipse.xsmp.repository/target/org.eclipse.xsmp.repository.zip
asset_name: org.eclipse.xsmp.repository-${{ github.ref_name }}.zip
asset_content_type: application/zip
files: ${{ github.workspace }}/org.eclipse.xsmp.repository/target/org.eclipse.xsmp.repository.zip
- name: Upload VSCode extension
uses: cyrilvrousos-tas/upload-release-asset@v1
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -73,7 +71,7 @@ jobs:
asset_name: xsmp-modeler-${{ github.ref_name }}.vsix
asset_content_type: application/zip
- name: Upload SMP Tools CLI
uses: cyrilvrousos-tas/upload-release-asset@v1
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -82,7 +80,7 @@ jobs:
asset_name: org.eclipse.xsmp.tool.smp.cli-${{ github.ref_name }}.jar
asset_content_type: application/java-archive
- name: Upload XSMP SDK Profile CLI
uses: cyrilvrousos-tas/upload-release-asset@v1
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand All @@ -91,7 +89,7 @@ jobs:
asset_name: org.eclipse.xsmp.profile.xsmp_sdk.cli-${{ github.ref_name }}.jar
asset_content_type: application/java-archive
- name: Upload ESA CDK Profile CLI
uses: cyrilvrousos-tas/upload-release-asset@v1
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down

0 comments on commit bff9fd7

Please sign in to comment.