Skip to content

Commit

Permalink
Create release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vjf authored Jul 25, 2024
1 parent 472abc0 commit 60a907d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Release web assets from the latest successful build action
name: Release web assets
env:
# Model source tag
SRC_TAG: 'PORTAL_RELEASE_20210718'

on: workflow_dispatch

jobs:
do-release:
runs-on: ubuntu-latest
steps:
- name: Download artifact
uses: dawidd6/action-download-artifact@v6
with:
workflow: build-models.yml
workflow_conclusion: success
branch: master
- name: Test
run: |
ls
ls -lR
#- name: Release
# uses: softprops/action-gh-release@v2
# if: ${{ github.event_name == 'workflow_dispatch' }}
# with:
# tag_name: ${{env.SRC_TAG}}
# name: Web asset release based on model sources tag ${{env.SRC_TAG}}

0 comments on commit 60a907d

Please sign in to comment.