diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml new file mode 100644 index 0000000..a561fca --- /dev/null +++ b/.github/workflows/update.yml @@ -0,0 +1,27 @@ +name: Package and release + +on: + push: + tags: + - '**' + +jobs: + + release: + + runs-on: ubuntu-latest + + env: + CF_API_KEY: ${{ secrets.CF_API_KEY }} + WOWI_API_TOKEN: ${{ secrets.WOWI_API_TOKEN }} + GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} + + steps: + + - name: Clone project + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Package and release + uses: BigWigsMods/packager@v2 diff --git a/.pkgmeta b/.pkgmeta index 8db9737..bc67cb3 100644 --- a/.pkgmeta +++ b/.pkgmeta @@ -1,6 +1,4 @@ package-as: FieldGuide -enable-nolib-creation: no ignore: - - README.md - - .travis.yml \ No newline at end of file + - README.md \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 26aadd4..0000000 --- a/.travis.yml +++ /dev/null @@ -1,13 +0,0 @@ -sudo: false -language: c - -addons: - apt: - packages: - - pandoc - -script: curl -s https://raw.githubusercontent.com/BigWigsMods/packager/master/release.sh | bash - -branches: - only: - - /^v\d+\.\d+(\.\d+)?(-\S*)?$/ \ No newline at end of file