Skip to content

Commit 9c16a93

Browse files
author
g
committed
Fix release workflow indentation to enable binary generation
1 parent 7b4dd40 commit 9c16a93

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

.github/workflows/release.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -124,32 +124,32 @@ jobs:
124124
mkdir -p release
125125
cp target/${{ matrix.target }}/release/obs-cmd release/
126126
strip release/obs-cmd || true
127-
tar -czf obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz -C release obs-cmd
128-
129-
- name: Create release archive (Unix)
130-
if: matrix.os != 'windows' && matrix.os != 'freebsd'
131-
run: |
132-
mkdir -p release
133-
cp target/${{ matrix.target }}/release/obs-cmd release/
134-
strip release/obs-cmd || true
135-
tar -czf obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz -C release obs-cmd
136-
137-
- name: Create release archive (Windows)
138-
if: matrix.os == 'windows'
139-
run: |
140-
mkdir -p release
141-
copy target\${{ matrix.target }}\release\obs-cmd.exe release\
142-
tar -czf obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz -C release obs-cmd.exe
127+
tar -czf obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz -C release obs-cmd
128+
129+
- name: Create release archive (Unix)
130+
if: matrix.os != 'windows' && matrix.os != 'freebsd'
131+
run: |
132+
mkdir -p release
133+
cp target/${{ matrix.target }}/release/obs-cmd release/
134+
strip release/obs-cmd || true
135+
tar -czf obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz -C release obs-cmd
136+
137+
- name: Create release archive (Windows)
138+
if: matrix.os == 'windows'
139+
run: |
140+
mkdir -p release
141+
copy target\${{ matrix.target }}\release\obs-cmd.exe release\
142+
tar -czf obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz -C release obs-cmd.exe
143+
144+
- name: Generate checksum
145+
run: |
146+
sha256sum obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz > obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz.sha256
143147
144-
- name: Generate checksum
145-
run: |
146-
sha256sum obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz > obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz.sha256
147-
148-
- name: Upload release asset
149-
uses: softprops/action-gh-release@v1
150-
env:
151-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
152-
with:
153-
files: |
154-
./obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz
155-
./obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz.sha256
148+
- name: Upload release asset
149+
uses: softprops/action-gh-release@v1
150+
env:
151+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
152+
with:
153+
files: |
154+
./obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz
155+
./obs-cmd-${{ matrix.arch }}-${{ matrix.os }}.tar.gz.sha256

0 commit comments

Comments
 (0)