Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
hxbb00 authored Oct 18, 2023
1 parent 876692f commit 85e49f0
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: CI-release-build

on:
workflow_dispatch:

jobs:
create_package:
runs-on: ubuntu-20.04

steps:
- name: init env
shell: bash
run: |
pwd
mkdir -p ./artifact
- name: set release date
run: |
echo "RELEASE_DATE=$(date +%Y%m%d-%H%M%s)" >> ${GITHUB_ENV}
- name: download release artifact
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: mingw64.yml
name: QGIS for Windows 64bit
path: ./artifact
repo: qgis/QGIS

- name: download debug symbols
uses: dawidd6/action-download-artifact@v2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
workflow: mingw64.yml
name: QGIS for Windows 64bit Debug Symbols
path: ./artifact
repo: qgis/QGIS

- name: Display structure of downloaded files
run: ls -al
working-directory: ./artifact

- name: pack downloaded files
run: zip -r QGIS_Windows_x64.zip ./artifact

- name: Release
uses: softprops/action-gh-release@v1
with:
name: QGIS_Windows_x64
tag_name: ${{ env.RELEASE_DATE }}
files: QGIS_Windows_x64.zip

0 comments on commit 85e49f0

Please sign in to comment.