Skip to content

Commit

Permalink
switched to mac
Browse files Browse the repository at this point in the history
  • Loading branch information
gorouflex authored Jan 30, 2024
1 parent ee4f235 commit b999666
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Push Release
on: workflow_dispatch
jobs:
release:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- name: Checkout latest repository commit
uses: actions/[email protected]
Expand All @@ -11,21 +11,20 @@ jobs:

- id: get-tag
name: Fetches latest release tag
shell: sh
shell: bash
run: |
LATEST_TAG="$(grep -m 1 -o '## \[.*\]' Changelog.md | awk -F'[][]' '{print $2}')"
echo "TAG=$LATEST_TAG" >> "$GITHUB_ENV"
- name: Zip folder
run: |
sudo apt-get install -y zip
zip -r RielUXTU.zip RielUXTU
env:
TAG: ${{ env.TAG }}

- id: generate-notes
name: Generate Release Notes
shell: sh
shell: bash
run: |
BODY="$(sed -n "/## \[$TAG\]/,/## \[/p" Changelog.md | sed -e '1,2d;$d')"
echo "$BODY" > ${{ github.workspace }}-RELEASE_NOTES.txt
Expand Down

0 comments on commit b999666

Please sign in to comment.