Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nygrenh committed Oct 5, 2023
1 parent 5a31773 commit b12e7e3
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,22 @@ jobs:
- name: Sign the macos-version build
if: ${{ matrix.os == 'macos-latest' }}
run: codesign --force -s - ./dist/main
- name: Set env for release
run: echo "OS=windows" >> $GITHUB_ENV
if: ${{ matrix.os == 'windows-latest' }}
- name: Set env for release
run: echo "OS=linux" >> $GITHUB_ENV
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Set env for release
run: echo "OS=macos" >> $GITHUB_ENV
if: ${{ matrix.os == 'macos-latest' }}

- name: Make binary executable
if: ${{ matrix.os == 'macos-latest' || matrix.os == 'ubuntu-latest' }}
run: chmod +x ./dist/main

- name: Rename built binary
run: poetry run mv ./dist/main ./dist/feedback-data-converter-${{ matrix.os }}
run: poetry run mv ./dist/main ./dist/feedback-data-converter-${{ env.OS }}

- name: Store built binary
uses: actions/upload-artifact@v3
Expand All @@ -61,7 +74,7 @@ jobs:
name: converter-binary
path: ./dist/
- name: Set env for release
run: echo "DATE=$(date +'%Y-%m-%d-%H-%M')" >> $GITHUB_ENV
run: echo "DATE=$(date +'%Y-%m-%d/%H-%M')" >> $GITHUB_ENV
- uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
Expand Down

0 comments on commit b12e7e3

Please sign in to comment.