diff --git a/.github/workflows/build-example-and-bump.yml b/.github/workflows/build-example.yml similarity index 67% rename from .github/workflows/build-example-and-bump.yml rename to .github/workflows/build-example.yml index 6f31a9c..82c8666 100644 --- a/.github/workflows/build-example-and-bump.yml +++ b/.github/workflows/build-example.yml @@ -24,30 +24,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + token: ${{ secrets.ACTIONS_TOKEN }} + repository: oversizedev/OversizeResources - name: Build iOS run: | xcodebuild clean build -project "${{ env.PROJECT_DIR }}/${{ env.PROJECT_NAME }}" -scheme "${{ env.iOSSCHEME }}" | xcpretty env: destination: ${{ matrix.iosDestination }} - -name: Bump version -on: - push: - branches: - - main -jobs: - - tag: - name: Create tag - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - with: - fetch-depth: '0' - - - name: Bump version and push tag - uses: anothrNick/github-tag-action@1.61.0 - env: - GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} - WITH_V: false diff --git a/.github/workflows/bump.yml b/.github/workflows/bump.yml new file mode 100644 index 0000000..fb1699e --- /dev/null +++ b/.github/workflows/bump.yml @@ -0,0 +1,20 @@ +name: Bump version +on: + push: + branches: + - main +jobs: + + tag: + name: Create tag + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: '0' + + - name: Bump version and push tag + uses: anothrNick/github-tag-action@1.61.0 + env: + GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} + WITH_V: false diff --git a/Package.swift b/Package.swift index ea9e2f9..3d81c15 100644 --- a/Package.swift +++ b/Package.swift @@ -46,7 +46,7 @@ let package = Package( .library(name: "OversizeNotificationKit", targets: ["OversizeNotificationKit"]), .library(name: "OversizePhotoKit", targets: ["OversizePhotoKit"]), ], - dependencies: developmentDependencies, + dependencies: productionDependencies, targets: [ .target( name: "OversizeKit",