Skip to content

Commit a415a09

Browse files
committed
No need to update a metadata branch anymore
1 parent 0bcd376 commit a415a09

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ jobs:
3838
shell: bash
3939
run: |
4040
mkdir info
41-
echo "${{ steps.create_tag.outputs.tag }}" > info/tag
4241
echo "${{ steps.create_release.outputs.id }}" > info/release_id
4342
echo "${{ steps.create_release.outputs.upload_url }}" > info/upload_url
4443
- uses: actions/upload-artifact@v1
@@ -138,36 +137,22 @@ jobs:
138137
needs: [build]
139138
runs-on: ubuntu-latest
140139
steps:
141-
- uses: actions/checkout@v2
142-
with:
143-
ref: metadata
144-
fetch-depth: 0
145140
- uses: actions/download-artifact@v1
146141
with:
147142
name: info
148143
- name: Set publish_info
149144
id: publish_info
150145
shell: bash
151146
run: |
152-
tag=$(cat info/tag)
153147
release_id=$(cat info/release_id)
154-
echo "::set-output name=tag::$tag"
155148
echo "::set-output name=release_id::$release_id"
156149
- uses: eregon/publish-release@v1
157150
env:
158151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
159152
with:
160153
release_id: ${{ steps.publish_info.outputs.release_id }}
161-
- shell: bash
162-
run: |
163-
echo "${{ steps.publish_info.outputs.tag }}" > latest_build.tag
164-
git config user.name "GitHub Actions"
165-
git config user.email [email protected]
166-
git commit -a -m 'Update latest_build.tag'
167-
git push
168154
- uses: eregon/keep-last-n-releases@v1
169155
env:
170156
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
171157
with:
172158
n: 3
173-
last_tag_file: latest_build.tag

0 commit comments

Comments
 (0)