From b80d5aa1aa2fd1879ee7bdcbd60dbbb64de80b23 Mon Sep 17 00:00:00 2001 From: Fabian Wolf Date: Wed, 22 Feb 2023 16:42:16 +0100 Subject: [PATCH] ID conflict --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 37e9b5787939..315002c5cc7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Create Release Page +name: Create Release on: push: # Sequence of patterns matched against refs/tags @@ -71,7 +71,7 @@ jobs: draft: false prerelease: false - name: Upload Release Asset (ZIP) - id: upload-release-asset + id: upload-release-asset-zip uses: actions/upload-release-asset@v1 env: GITHUB_TOKEN: ${{ secrets.DEPLOYMENT_TOKEN }} @@ -81,10 +81,10 @@ jobs: asset_name: ILIAS-${VERSION}.zip asset_content_type: application/zip - name: Upload Release Asset (TAR) - id: upload-release-asset + id: upload-release-asset-tar uses: actions/upload-release-asset@v1 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.DEPLOYMENT_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps asset_path: ./release.tar.gz