Skip to content

Commit 8394c23

Browse files
committed
fixup release deployment
1 parent ac10749 commit 8394c23

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
id: release_tag
7272
run: |
7373
echo "tag=${RELEASE%%.*}" >> "$GITHUB_OUTPUT"
74-
echo "tag=${RELEASE}" >> "VERSION"
74+
echo "3P_WEBRTC_BUILD_RELEASE_VERSION=${RELEASE}" >> "VERSION"
7575
- run: ./build.${{ matrix.name }}.sh "${{ steps.release_tag.outputs.tag }}_release"
7676
- name: Upload Artifact
7777
uses: actions/upload-artifact@v4
@@ -115,7 +115,7 @@ jobs:
115115
id: release_tag
116116
run: |
117117
echo "tag=${RELEASE%%.*}" >> "$GITHUB_OUTPUT"
118-
echo "tag=${RELEASE}" >> "VERSION"
118+
echo "3P_WEBRTC_BUILD_RELEASE_VERSION=${RELEASE}" >> "VERSION"
119119
- run: ./build.${{ matrix.name }}.sh "${{ steps.release_tag.outputs.tag }}_release"
120120
- name: Upload Artifact
121121
uses: actions/upload-artifact@v4
@@ -150,18 +150,12 @@ jobs:
150150
# - build-linux
151151
runs-on: ubuntu-latest
152152
steps:
153-
- name: Checkout code
154-
uses: actions/checkout@v4
155-
- name: Download ${{ matrix.name }}
156-
uses: actions/download-artifact@v4
157-
with:
158-
name: webrtc.${{ matrix.name }}.tar.bz2
159153
- name: Upload ${{ matrix.name }} Release Asset
160154
uses: actions/[email protected]
161155
env:
162156
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
163157
with:
164158
upload_url: ${{ github.event.release.upload_url }}
165-
asset_path: webrtc.${{ matrix.name }}.tar.bz2/webrtc.tar.bz2
166-
asset_name: webrtc.${{ matrix.name }}.tar.bz2
159+
asset_path: build/_package/${{ matrix.name }}/webrtc.tar.bz2
160+
asset_name: webrtc.${{ github.ref_name }}.tar.bz2
167161
asset_content_type: application/bz2

0 commit comments

Comments
 (0)