Skip to content

Commit

Permalink
fix(ci): build
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjeannesson committed Mar 14, 2024
1 parent 4c41d36 commit ca7dc60
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ jobs:
strategy:
matrix:
include:
# - platform: mac
# os: "macos-12"
- platform: mac
os: "macos-12"
- platform: linux
os: "ubuntu-22.04"
# - platform: windows
# os: "windows-2022"
- platform: windows
os: "windows-2022"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -52,11 +52,6 @@ jobs:
runs-on: "ubuntu-22.04"
needs: build
steps:
- name: Tag Docker image
run: |
TAG_NAME=$(grep -oP '(?<=# \[)[^\]]+' CHANGELOG.md | head -n 1)
VERSION=v$TAG_NAME
echo "VERSION=$VERSION" >> $GITHUB_ENV

- name: Get all distributables
uses: actions/download-artifact@v3
Expand All @@ -65,14 +60,20 @@ jobs:
run: |
mkdir distributables
cp -r linux-distributables/* distributables/
# cp -r mac-distributables/* distributables/
# cp -r windows-distributables/* distributables/
cp -r mac-distributables/* distributables/
cp -r windows-distributables/* distributables/
ls distributables
- name: Filter out .blockmap files
run: |
find distributables -name '*.blockmap' -exec rm {} +
- name: Tag Docker image
run: |
TAG_NAME=$(grep -oP '(?<=# \[)[^\]]+' CHANGELOG.md | head -n 1)
VERSION=v$TAG_NAME
echo "VERSION=$VERSION" >> $GITHUB_ENV
- name: Publish all artifacts to GitHub Releases
uses: softprops/action-gh-release@v1
env:
Expand Down

0 comments on commit ca7dc60

Please sign in to comment.