diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96718cf..354cff1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/Gemfile.lock b/Gemfile.lock index 810d413..51e814e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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) @@ -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)