mirror of https://github.com/openwrt/docker.git
parent
ee6571892e
commit
770d98ef91
|
|
@ -31,21 +31,21 @@ jobs:
|
|||
version_path: ${{ steps.find_targets.outputs.version_path }}
|
||||
|
||||
steps:
|
||||
- name: Set relase to 22.03-SNAPSHOT
|
||||
- name: Set release to 22.03-SNAPSHOT
|
||||
if: github.event.schedule == '0 6 * * 0'
|
||||
run: |
|
||||
echo "VERSION=22.03-SNAPSHOT" >> "$GITHUB_ENV"
|
||||
echo "VERSION_PATH=releases/22.03-SNAPSHOT" >> "$GITHUB_ENV"
|
||||
echo "REF=openwrt-22.03" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Set relase to 21.02-SNAPSHOT
|
||||
- name: Set release to 21.02-SNAPSHOT
|
||||
if: github.event.schedule == '0 7 * * 0'
|
||||
run: |
|
||||
echo "VERSION=21.02-SNAPSHOT" >> "$GITHUB_ENV"
|
||||
echo "VERSION_PATH=releases/21.02-SNAPSHOT" >> "$GITHUB_ENV"
|
||||
echo "REF=openwrt-21.02" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Set relase manually
|
||||
- name: Set release manually
|
||||
if: github.event.inputs.ref != ''
|
||||
run: |
|
||||
export REF=${{ github.event.inputs.ref == 'master' && 'main' || github.event.inputs.ref }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue