Skip to content

Commit

Permalink
Patch the release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sp1ff committed Sep 2, 2024
1 parent 766ab97 commit 1217812
Showing 1 changed file with 10 additions and 21 deletions.
31 changes: 10 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,21 +107,10 @@ jobs:
automake --version
./bootstrap && ./configure
make all check dist
echo "DISTRO_BZ2=elmpd-${{ env.RELEASE_VERSION }}.tar.bz2" >> $GITHUB_ENV
echo "DISTRO_GZ=elmpd-${{ env.RELEASE_VERSION }}.tar.gz" >> $GITHUB_ENV
echo "DISTRO_XZ=elmpd-${{ env.RELEASE_VERSION }}.tar.xz" >> $GITHUB_ENV
echo "DISTRO_ZSTD=elmpd-${{ env.RELEASE_VERSION }}.tar.zst" >> $GITHUB_ENV
# echo "DISTRO_PKG=elmpd-${{ env.RELEASE_VERSION }}.tar" >> $GITHUB_ENV
- name: Upload bzip2 tarball
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ env.RELEASE_UPLOAD_URL }}
asset_path: ${{ env.DISTRO_BZ2 }}
asset_name: ${{ env.DISTRO_BZ2 }}
asset_content_type: application/octet-stream
echo "DISTRO_PKG=elmpd-${{ env.RELEASE_VERSION }}.tar" >> $GITHUB_ENV
- name: Upload gzip tarball
uses: actions/[email protected]
Expand Down Expand Up @@ -153,12 +142,12 @@ jobs:
asset_name: ${{ env.DISTRO_ZSTD }}
asset_content_type: application/octet-stream

# - name: Upload the Emacs package
# uses: actions/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ env.RELEASE_UPLOAD_URL }}
# asset_path: ${{ env.DISTRO_PKG }}
# asset_name: ${{ env.DISTRO_PKG }}
# asset_content_type: application/octet-stream
- name: Upload the Emacs package
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ env.RELEASE_UPLOAD_URL }}
asset_path: ${{ env.DISTRO_PKG }}
asset_name: ${{ env.DISTRO_PKG }}
asset_content_type: application/octet-stream

0 comments on commit 1217812

Please sign in to comment.