Skip to content

Commit

Permalink
Merge pull request #165 from blacknon/0.3.16
Browse files Browse the repository at this point in the history
update. Github Actions Update.
  • Loading branch information
blacknon authored Nov 10, 2024
2 parents b54460e + 2ac365c commit c2e0f32
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
shell: bash
run: |
VERSION="$(cargo run --example version)"
echo "name=version::$VERSION" >> $GITHUB_OUTPUT
echo "version=$VERSION" >> $GITHUB_OUTPUT
# https://github.com/actions/cache/blob/master/examples.md#rust---cargo
- name: Cache cargo registry
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
run: |
_TAR=hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.tar.gz
docker run -i "greymd/tar2rpm:1.0.1" < "$_TAR" > hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.rpm
echo name=sha256::$( sha256sum hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.rpm | awk '{print $1}' ) >> $GITHUB_OUTPUT
echo "sha256=$( sha256sum hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.rpm | awk '{print $1}' )" >> $GITHUB_OUTPUT
# use: https://github.com/greymd/tar2package
- name: Build deb
Expand All @@ -129,7 +129,7 @@ jobs:
run: |
_TAR=hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.tar.gz
docker run -i "greymd/tar2deb:1.0.1" < "$_TAR" > hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.deb
echo name=sha256::$( sha256sum hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.deb | awk '{print $1}' ) >> $GITHUB_OUTPUT
echo "sha256=$( sha256sum hwatch-${{ steps.package_version.outputs.version }}.${{ matrix.target }}.deb | awk '{print $1}' )" >> $GITHUB_OUTPUT
- name: README for rpm
if: matrix.ext == 'rpm'
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
shell: bash
run: |
VERSION="$(cargo run --example version)"
echo "name=version::$VERSION" >> $GITHUB_OUTPUT
echo "version=$VERSION" >> $GITHUB_OUTPUT
- id: create-release
uses: actions/create-release@v1
Expand Down Expand Up @@ -239,7 +239,7 @@ jobs:

- id: upload-url
run: |
echo "$(cat create-release/release_upload_url.txt)" >> $GITHUB_OUTPUT
echo "upload_url=$(cat create-release/release_upload_url.txt)" >> $GITHUB_OUTPUT
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit c2e0f32

Please sign in to comment.