Skip to content

Commit

Permalink
disable previous steps
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Jan 15, 2025
1 parent d2d1b12 commit b2560fc
Showing 1 changed file with 38 additions and 38 deletions.
76 changes: 38 additions & 38 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -208,43 +208,43 @@ jobs:
encointer/encointer-client-notee:${{ env.ENCOINTER_CLIENT_DOCKER_TAG }} ${{ matrix.test }} \
-u ws://host.docker.internal \
--port 9944 \
release:
name: Draft Release
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
needs: [ create_artifacts, build_primary_binaries ]
outputs:
release_url: ${{ steps.create-release.outputs.html_url }}
asset_upload_url: ${{ steps.create-release.outputs.upload_url }}
steps:
- uses: actions/checkout@v4
- name: Download Encointer Collator
uses: actions/download-artifact@v4
with:
name: encointer-collator-${{ github.sha }}

- name: Create required package.json
run: test -f package.json || echo '{}' >package.json

- name: Changelog
uses: scottbrenner/generate-changelog-action@master
id: Changelog

- name: Display structure of downloaded files
run: ls -R
working-directory: .

- name: Release
id: create-release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: |
${{ steps.Changelog.outputs.changelog }}
draft: true
files: |
encointer-collator
# release:
# name: Draft Release
# if: startsWith(github.ref, 'refs/tags/')
# runs-on: ubuntu-latest
# needs: [ create_artifacts, build_primary_binaries ]
# outputs:
# release_url: ${{ steps.create-release.outputs.html_url }}
# asset_upload_url: ${{ steps.create-release.outputs.upload_url }}
# steps:
# - uses: actions/checkout@v4
#
# - name: Download Encointer Collator
# uses: actions/download-artifact@v4
# with:
# name: encointer-collator-${{ github.sha }}
#
# - name: Create required package.json
# run: test -f package.json || echo '{}' >package.json
#
# - name: Changelog
# uses: scottbrenner/generate-changelog-action@master
# id: Changelog
#
# - name: Display structure of downloaded files
# run: ls -R
# working-directory: .
#
# - name: Release
# id: create-release
# uses: softprops/action-gh-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# body: |
# ${{ steps.Changelog.outputs.changelog }}
# draft: true
# files: |
# encointer-collator

0 comments on commit b2560fc

Please sign in to comment.