Skip to content

Commit

Permalink
chore: update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryJobst committed Dec 24, 2024
1 parent 9b7e37c commit ccb1898
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
26 changes: 21 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,26 @@ jobs:
exit 1
fi
# Upload the binary as an artifact
- name: Upload Binary
uses: actions/upload-artifact@v4
# Create a Release
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
name: ORConverter
path: ./orconverter.exe
tag_name: v1.0.0
release_name: "ORConverter v1.0.0"
draft: false
prerelease: false

# Upload Binary to the Release
- name: Upload Release Asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./orconverter.exe
asset_name: orconverter.exe
asset_content_type: application/octet-stream

4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ GEM
remote: http://rubygems.org/
specs:
concurrent-ruby (1.3.4)
fiddle (1.1.2)
fiddle (1.1.6)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
logger (1.6.0)
Expand All @@ -17,7 +17,7 @@ PLATFORMS
arm64-darwin

DEPENDENCIES
fiddle
fiddle (>= 1.1.6)
i18n (>= 0.6.6)
logger (>= 1.1.0)
nokogiri (>= 1.8.5)
Expand Down

0 comments on commit ccb1898

Please sign in to comment.